org

package
v0.0.0-...-1be23ea Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package org GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE

Index

Constants

This section is empty.

Variables

View Source
var InvalidType = errors.New("invalid Type")

Functions

This section is empty.

Types

type Type

type Type int
const (
	TYPE_UNKNOWN Type = iota

	TYPE__GOV     // 政府
	TYPE__COMPANY // 企事业单位
)

func ParseTypeFromString

func ParseTypeFromString(s string) (Type, error)

func ParseTypeLabelString

func ParseTypeLabelString(label string) (Type, error)

func (Type) EnumValues

func (Type) EnumValues() []any

func (Type) Label

func (v Type) Label() string

func (Type) MarshalText

func (v Type) MarshalText() ([]byte, error)

func (Type) RuntimeDoc

func (Type) RuntimeDoc(names ...string) ([]string, bool)

func (Type) String

func (v Type) String() string

func (*Type) UnmarshalText

func (v *Type) UnmarshalText(data []byte) error

Jump to

Keyboard shortcuts

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