parser

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppParser

type AppParser struct {
	*schema.Application
}

AppParser defined AppParser struct

func New

func New() *AppParser

New defined AppParser

func NewTpl

func NewTpl(name string, pkg string) *AppParser

NewTpl defined AppParser

func (*AppParser) Marshal

func (parser *AppParser) Marshal() []byte

Marshal marshal XML to string

func (*AppParser) MarshalIndent

func (parser *AppParser) MarshalIndent(prefix, indent string) []byte

MarshalIndent marshal XML to string

func (*AppParser) Walk

func (parser *AppParser) Walk(xmlPath string) error

Walk parse all xml in directory

func (*AppParser) WalkXML

func (parser *AppParser) WalkXML(files ...string) error

WalkXML parse all xml in directory

Jump to

Keyboard shortcuts

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