types

package
v0.0.0-...-34026e2 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrValueTooLong    error = errors.New("infys:value exceeds length limit")
	ErrFieldEmpty      error = errors.New("infys:field is empty")
	ErrInvalidArgument error = errors.New("infys:specified argument is invalid")
	ErrAlreadyExists   error = errors.New("infys:row already exists")
	ErrDuplicateKey    error = errors.New("infys:provided key is a duplicate")
	ErrNoRows          error = errors.New("infys:query did not set any rows")
	ErrFKViolated      error = errors.New("infys:foreign key constraint violated")
)

Functions

This section is empty.

Types

type CityData

type CityData struct {
	Main struct {
		Temp float64 `json:"temp"`
	} `json:"main"`
	Name string `json:"name"`
}

type JwtCustomClaims

type JwtCustomClaims struct {
	Name string `json:"name"`
	jwt.RegisteredClaims
}

type Lesson

type Lesson struct {
	Id        int
	Day       string
	Lno       int
	Name      string
	StartTime string
	EndTime   string
	Username  string
}

type User

type User struct {
	Username  string `sql:"username"`
	Password  string `sql:"Password"`
	Email     string `sql:"email"`
	CreatedAt string `sql:"createdAt"`
}

Jump to

Keyboard shortcuts

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