types

package
v0.0.0-...-ee0a0c7 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomTypeUUIDv1

type CustomTypeUUIDv1 uuid.UUID

func CustomTypeUUIDv1FromString

func CustomTypeUUIDv1FromString(s string) CustomTypeUUIDv1

CustomTypeUUIDv1FromString -> parse string to CustomTypeUUIDv1

func (CustomTypeUUIDv1) MarshalJSON

func (my CustomTypeUUIDv1) MarshalJSON() ([]byte, error)

func (*CustomTypeUUIDv1) Scan

func (my *CustomTypeUUIDv1) Scan(value interface{}) error

Scan --> tells GORM how to receive from the database

func (CustomTypeUUIDv1) String

func (my CustomTypeUUIDv1) String() string

String -> String Representation of Binary16

func (*CustomTypeUUIDv1) UnmarshalJSON

func (my *CustomTypeUUIDv1) UnmarshalJSON(by []byte) error

func (CustomTypeUUIDv1) Value

func (my CustomTypeUUIDv1) Value() (driver.Value, error)

Value -> tells GORM how to save into the database

Jump to

Keyboard shortcuts

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