entity

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel struct {
	Id          int            `db:"id"`
	ChannelId   int            `db:"channelId"`
	Username    sql.NullString `db:"username"`
	Description sql.NullString `db:"description"`
	MemberCount int            `db:"memberCount"`
	CreatedAt   string         `db:"createdAt"`
	UpdatedAt   string         `db:"updatedAt"`
}

type ChannelHasMember added in v1.1.0

type ChannelHasMember struct {
	Id int `db:"id"`

	CreatedAt string `db:"createdAt"`
	UpdatedAt string `db:"updatedAt"`
	// contains filtered or unexported fields
}

type Member added in v1.1.0

type Member struct {
	Id          int            `db:"id"`
	UserId      int            `db:"userId"`
	Username    sql.NullString `db:"username"`
	FirstName   sql.NullString `db:"first_name"`
	LastName    sql.NullString `db:"last_name"`
	PhoneNumber sql.NullString `db:"phone_number"`
	Bio         sql.NullString `db:"bio"`
	Type        string         `db:"type"`
	CreatedAt   string         `db:"createdAt"`
	UpdatedAt   string         `db:"updatedAt"`
}

Jump to

Keyboard shortcuts

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