Start implementing a logger
This commit is contained in:
		@@ -1,5 +1,10 @@
 | 
			
		||||
package consts
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	"google.golang.org/grpc/codes"
 | 
			
		||||
	"google.golang.org/grpc/status"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
const (
 | 
			
		||||
	USERNAME_LABEL_KEY            = "username"
 | 
			
		||||
	EMAIL_VERIFIED_LABEL_KEY      = "email-verified"
 | 
			
		||||
@@ -7,3 +12,7 @@ const (
 | 
			
		||||
	EMAIL_VERIFIED_LABEL_FALSE    = "false"
 | 
			
		||||
	SOFTPLAYER_ACCOUNTS_NAMESPACE = "softplayer-accounts"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
var (
 | 
			
		||||
	ErrSystemError = status.Error(codes.Internal, "a system error occured, we will try to fix it as soon as possible")
 | 
			
		||||
)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user