Some checks are pending
/ test (push) Waiting to run
Step one: Copy the struct definitions over into a new, dedicated submodule Step two: Make a generator script Step three: Define helper functions for various queries
7 lines
142 B
Go
7 lines
142 B
Go
package models
|
|
|
|
type UserRelation struct {
|
|
UserId string
|
|
TargetUserId string
|
|
Relation RelationType `gorm:"type:relation_type"`
|
|
}
|