example

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const CreateScript = `` /* 235-byte string literal not displayed */

Variables

View Source
var TCart = struct {
	bsq.Table
	UserID, Item, Price bsq.Column
}{
	Table:  bsq.Table{Name: "cart_positions"},
	UserID: bsq.Column{Name: "user_id"},
}
View Source
var TUsers = struct {
	bsq.Table
	ID, Name, Age, LastLogin bsq.Column
}{
	Table: bsq.Table{Name: "users", DefaultAlias: "u"},
}

Functions

This section is empty.

Types

type Cart added in v0.2.0

type Cart struct {
	User  UserID
	Item  string
	Price float32
}

type User

type User struct {
	ID        UserID
	Name      string
	Age       int
	LastLogin time.Time
}

type UserID added in v0.2.0

type UserID = sqlize.ID32

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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