Documentation ¶ Index ¶ func Init(dsn string) *gorm.DB type Function type User Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Init ¶ func Init(dsn string) *gorm.DB Types ¶ type Function ¶ type Function struct { ID uuid.UUID `json:"id" ,gorm:"primarykey;type:uuid;default:gen_random_uuid()"` Name string `json:"name"` Description string `json:"description"` Language string `json:"language"` } type User ¶ type User struct { gorm.Model Username string HashedPassword string } Source Files ¶ View all Source files function.go init.go user.go Click to show internal directories. Click to hide internal directories.