visibility

package
v0.0.0-...-0213d94 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Names

func Names() []string

func Titles

func Titles() []string

Types

type Dto

type Dto struct {
	Type  string `json:"type"`
	Title string `json:"title"`
}

type Type

type Type int
const (
	PUBLIC Type = iota
	PRIVATE
	UNLISTED
)

func TypeValueOf

func TypeValueOf(s string) (Type, error)

func (Type) EnumIndex

func (d Type) EnumIndex() int

func (Type) MarshalJSON

func (d Type) MarshalJSON() ([]byte, error)

func (Type) String

func (d Type) String() string

func (Type) Title

func (d Type) Title() string

func (*Type) UnmarshalJSON

func (d *Type) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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