Help us shape the future of Go! Take the 2026 Go Developer Survey

customPermissions

package
v0.68.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const NAME = "CustomPermission"

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomPermission

type CustomPermission struct {
	metadata.MetadataInfo
	XMLName     xml.Name `xml:"CustomPermission"`
	Xmlns       string   `xml:"xmlns,attr"`
	Description *struct {
		Text string `xml:",chardata"`
	} `xml:"description"`
	IsLicensed struct {
		Text string `xml:",chardata"`
	} `xml:"isLicensed"`
	Label struct {
		Text string `xml:",chardata"`
	} `xml:"label"`
}

func Open

func Open(path string) (*CustomPermission, error)

func (*CustomPermission) SetMetadata

func (c *CustomPermission) SetMetadata(m metadata.MetadataInfo)

func (*CustomPermission) Type

Jump to

Keyboard shortcuts

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