enum_internal

package
v1.0.16 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MyStrings = myStrings{
	MyString1: MyString("my-string-1"),
	MyString2: MyString("my-string-2"),
	MyString3: MyString("MyString3"),
	Err:       fmt.Errorf("invalid MyString"),
}

Functions

This section is empty.

Types

type MyString

type MyString string

func (MyString) MarshalJSON added in v1.0.16

func (t MyString) MarshalJSON() ([]byte, error)

func (MyString) MarshalYAML added in v1.0.16

func (t MyString) MarshalYAML() (interface{}, error)

func (*MyString) Scan added in v1.0.16

func (t *MyString) Scan(value interface{}) error

func (MyString) String added in v1.0.16

func (t MyString) String() string

func (*MyString) UnmarshalJSON added in v1.0.16

func (t *MyString) UnmarshalJSON(data []byte) error

func (*MyString) UnmarshalYAML added in v1.0.16

func (t *MyString) UnmarshalYAML(unmarshal func(interface{}) error) error

func (MyString) Value added in v1.0.16

func (t MyString) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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