type github.com/jackc/pgtype.EnumType
16 uses
github.com/jackc/pgtype (current package)
enum_type.go#L7: type EnumType struct {
enum_type.go#L17: func NewEnumType(typeName string, members []string) *EnumType {
enum_type.go#L18: et := &EnumType{typeName: typeName, members: members}
enum_type.go#L26: func (et *EnumType) NewTypeValue() Value {
enum_type.go#L27: return &EnumType{
enum_type.go#L37: func (et *EnumType) TypeName() string {
enum_type.go#L41: func (et *EnumType) Members() []string {
enum_type.go#L47: func (dst *EnumType) Set(src interface{}) error {
enum_type.go#L88: func (dst EnumType) Get() interface{} {
enum_type.go#L99: func (src *EnumType) AssignTo(dst interface{}) error {
enum_type.go#L123: func (EnumType) PreferredResultFormat() int16 {
enum_type.go#L127: func (dst *EnumType) DecodeText(ci *ConnInfo, src []byte) error {
enum_type.go#L147: func (dst *EnumType) DecodeBinary(ci *ConnInfo, src []byte) error {
enum_type.go#L151: func (EnumType) PreferredParamFormat() int16 {
enum_type.go#L155: func (src EnumType) EncodeText(ci *ConnInfo, buf []byte) ([]byte, error) {
enum_type.go#L166: func (src EnumType) EncodeBinary(ci *ConnInfo, buf []byte) ([]byte, error) {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |