Back to godoc.org

Package properties

v0.0.0-...-8be9c10
Latest Go to latest

The latest major version is .

Published: Sep 6, 2016 | License: Apache-2.0 | Module: github.com/kevinswiber/apigee-hcl

Index

type Property

type Property struct {
	XMLName string      `xml:"Property"`
	Name    string      `xml:"name,attr" hcl:",key"`
	Value   interface{} `xml:",chardata" hcl:"-"`
}

Property represents the <Property/> element.

func DecodeHCL

func DecodeHCL(item *ast.ObjectItem) ([]*Property, error)

DecodeHCL converts an ast.ObjectItem into Property objects.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier