types

package
v0.0.0-...-86bd5a5 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DbParams

type DbParams struct {
	Host     string
	Port     string
	User     string
	Password string
	Schema   string
}

type Email

type Email struct {
	LocalPart string
	Domain    string
	Extension string
}

func NewEmail

func NewEmail(email interface{}) (*Email, error)

func (*Email) GetEmail

func (e *Email) GetEmail() string

func (*Email) Scan

func (e *Email) Scan(value interface{}) error

Scan implements the Scanner interface.

func (*Email) String

func (e *Email) String() string

func (Email) Value

func (e Email) Value() (driver.Value, error)

Value implements the driver Valuer interface.

type IPv4

type IPv4 struct {
	// contains filtered or unexported fields
}

func NewIPv4

func NewIPv4(ipv4 interface{}) (*IPv4, error)

func (*IPv4) MarshalJSON

func (ip *IPv4) MarshalJSON() ([]byte, error)

func (*IPv4) String

func (ip *IPv4) String() string

type Password

type Password struct {
	// contains filtered or unexported fields
}

func NewPassword

func NewPassword(password interface{}) (*Password, error)

func (*Password) Scan

func (p *Password) Scan(value interface{}) error

Scan implements the Scanner interface.

func (*Password) String

func (p *Password) String() string

func (Password) Value

func (p Password) Value() (driver.Value, error)

Value implements the driver Valuer interface.

type Point

type Point struct {
	Latitude  float64
	Longitude float64
}

func (Point) String

func (p Point) String() string

type UUID

type UUID [16]byte

func NewUUID

func NewUUID() (UUID, error)

func (UUID) String

func (u UUID) String() string

Jump to

Keyboard shortcuts

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