consts

package
v0.0.0-...-a648134 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestEnum

type TestEnum string
const (
	TestEnum1 TestEnum = "foo"
	TestEnum2 TestEnum = "bar"
)

func (TestEnum) IsEnum

func (TestEnum) IsEnum()

type TestEnumPtr

type TestEnumPtr string
const (
	TestEnumPtr1 TestEnumPtr = "foo"
	TestEnumPtr2 TestEnumPtr = "bar"
)

func (*TestEnumPtr) IsEnum

func (*TestEnumPtr) IsEnum()

type TestInt

type TestInt int
const (
	TestInt1 TestInt = 1
	TestInt2 TestInt = 2
)

type TestIntNest

type TestIntNest TestInt
const (
	TestIntNest1 TestIntNest = 1
	TestIntNest2 TestIntNest = 2
)

type TestIota

type TestIota int
const (
	TestIota1 TestIota = iota
	TestIota2
	TestIota3
)

type TestString

type TestString string
const (
	TestString1 TestString = "foo"
	TestString2 TestString = "bar"
)
const (
	TestString3 TestString = "baz"
	TestString4 TestString = "qux"
)

type UsesEnumString

type UsesEnumString struct {
	Enum TestString
}

Jump to

Keyboard shortcuts

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