types

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2025 License: BSD-3-Clause-Clear Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TypeByName

func TypeByName(name string) any

func UnmarshallData

func UnmarshallData(name string, b []byte) (any, error)

Types

type Account

type Account struct {
	ID             int
	Username       string
	Email          string
	OrganizationID int
}

type Message

type Message struct {
	IsUser bool
}

type Organization

type Organization struct {
	ID       int
	Name     string
	Accounts []Account
}

type Temperature

type Temperature struct {
	Measurement float64
}

type Transaction

type Transaction struct {
	CreatedAt  time.Time
	ModifiedAt time.Time
	Action     string
}

type User

type User struct {
	ID           int
	Name         string
	Email        string
	PasswordHash string `ddl:"-"`
}

Jump to

Keyboard shortcuts

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