postalcode

package
v2.0.25 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostalCode

type PostalCode string

PostalCode represents a phone number type

func (PostalCode) String

func (code PostalCode) String() string

String implementation of Stringer interface

func (*PostalCode) UnmarshalJSON

func (code *PostalCode) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshall implementation

func (PostalCode) Validate

func (code PostalCode) Validate() error

Validate implementation of ozzo-validation Validate interface

func (PostalCode) Value

func (code PostalCode) Value() (value driver.Value, err error)

Value implementation of driver.Valuer

Jump to

Keyboard shortcuts

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