lpadata

package
v0.1339.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Code generated by "enumerator -type LpaType -linecomment -trimprefix -empty"; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var LpaTypeValues = LpaTypeOptions{
	PersonalWelfare:    LpaTypePersonalWelfare,
	PropertyAndAffairs: LpaTypePropertyAndAffairs,
}

Functions

This section is empty.

Types

type LpaType

type LpaType uint8
const (
	LpaTypePersonalWelfare    LpaType = iota + 1 // personal-welfare
	LpaTypePropertyAndAffairs                    // property-and-affairs
)

func ParseLpaType

func ParseLpaType(s string) (LpaType, error)

func (LpaType) Empty

func (i LpaType) Empty() bool

func (LpaType) IsPersonalWelfare

func (i LpaType) IsPersonalWelfare() bool

func (LpaType) IsPropertyAndAffairs

func (i LpaType) IsPropertyAndAffairs() bool

func (LpaType) MarshalText

func (i LpaType) MarshalText() ([]byte, error)

func (LpaType) String

func (i LpaType) String() string

func (*LpaType) UnmarshalText

func (i *LpaType) UnmarshalText(text []byte) error

func (LpaType) WhatLPACoversTransKey

func (e LpaType) WhatLPACoversTransKey() string

TODO: move this somewhere else

type LpaTypeOptions

type LpaTypeOptions struct {
	PersonalWelfare    LpaType
	PropertyAndAffairs LpaType
}

Jump to

Keyboard shortcuts

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