packageproperties

package
v0.0.0-...-faefad5 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2022 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CreatedBy             = "createdBy"
	AllowIndexDefinitions = "allowIndexDefinitions"
	Name                  = "name"
	GroupID               = "groupId"
	Version               = "version"
	PackageType           = "packageType"
	RequiresRoot          = "requiresRoot"
	Group                 = "group"
	Description           = "description"
	ArtifactID            = "artifactId"
)

Label descriptors

Variables

This section is empty.

Functions

This section is empty.

Types

type Properties

type Properties struct {
	Comment  string
	Property map[string]string
}

Properties description struct

func Open

func Open(location string) (*Properties, error)

Open properties file of package

func OpenXML

func OpenXML(location string) (*Properties, error)

OpenXML properties file for reading

func (*Properties) Get

func (p *Properties) Get(key string) (string, error)

Get gets the value from the package properties

Jump to

Keyboard shortcuts

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