package
Version:
v0.3.6
Opens a new window with list of versions in this module.
Published: Jan 9, 2026
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
StatusEnums is the enum helper for Status.
Level is a string type for testing cross-package field types.
const (
LevelDebug Level = "debug"
LevelInfo Level = "info"
LevelWarn Level = "warn"
LevelError Level = "error"
)
Priority is a numeric type for testing cross-package field types.
Status is an enum type in common package for testing cross-package references.
enumgen:@enum(string)
const (
StatusActive Status = iota + 1
StatusInactive
StatusPending
)
IsValid reports whether x is a valid Status.
String returns the string representation of Status.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.