enum

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GeneratePGScript

func GeneratePGScript(name string, params ...string) string

GeneratePGScript return postgres script for generate enum

Types

type Enum

type Enum string

func (*Enum) Scan

func (enum *Enum) Scan(value interface{}) error

Scan set value of enum

func (Enum) Value

func (enum Enum) Value() (driver.Value, error)

Value return enum value

Jump to

Keyboard shortcuts

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