Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
NewService instantiates a new Service layer for customer
Types ¶
type Model ¶
type Model struct { gorm.Model ID uuid.UUID `json:"id" gorm:"primarykey;index;unique"` Address string `json:"address" validate:"required,btc_addr|btc_addr_bech32" gorm:"index"` Cluster uint64 `json:"cluster" validate:"" gorm:"index"` } //@name Cluster
Model cluster struct with validation
Click to show internal directories.
Click to hide internal directories.