Documentation ¶ Index ¶ Variables type User Constants ¶ This section is empty. Variables ¶ View Source var ( EmptyNameError = errors.New("user name is empty") UserNotExistError = errors.New("user does not exist") InsufficientBalanceError = errors.New("insufficient balance") InvalidBalanceError = errors.New("invalid balance") ) Functions ¶ This section is empty. Types ¶ type User ¶ type User struct { *shared.Entity *shared.CreateDate *shared.UpdateDate Name string Balance int64 } Source Files ¶ View all Source files errors.gouser.go Click to show internal directories. Click to hide internal directories.