sample

package
v0.0.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Group

type Group struct {
	GroupID     string `db:"group_id"    pgddl:"TEXT NOT NULL" pk:"true"`
	GroupName   string `db:"group_name"  pgddl:"TEXT NOT NULL"`
	Description string `db:"description" pgddl:"TEXT NOT NULL"`
}

Group is a group model struct.

type User

type User struct {
	UserID   string `db:"user_id"  pgddl:"TEXT NOT NULL" pk:"true"`
	Username string `db:"username" pgddl:"TEXT NOT NULL"`
	Age      int    `db:"age"      pgddl:"INT  NOT NULL"`
}

User is a user model struct.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL