enum

package
v0.0.0-...-6729b33 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Expected string

Functions

This section is empty.

Types

type IntEnum

type IntEnum int

IntEnum should be included.

const (
	// IntEnum0 should be included.
	IntEnum0 IntEnum = iota
	IntEnum1
	IntEnum2
)

type Public

type Public struct {
	A StringEnum
	B IntEnum
}

type StringEnum

type StringEnum string

StringEnum should be included.

const (
	// StringEnum comment.
	StringEnumA StringEnum = "A"
	StringEnumB StringEnum = "B"
	StringEnumC StringEnum = "C"
)

Jump to

Keyboard shortcuts

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