kit

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JApi

type JApi struct {
	// contains filtered or unexported fields
}

JApi is an interface-level wrapper for JApiCore

func NewJapi

func NewJapi(filepath string) (JApi, error)

NewJapi returns interface-level wrapper for JApiCore Does not include .jst file validation. File validation should be called explicitly.

func NewJapiFromBytes

func NewJapiFromBytes(b bytes.Bytes) JApi

func (JApi) Title

func (j JApi) Title() string

func (JApi) ToJson

func (j JApi) ToJson() ([]byte, error)

func (JApi) ToJsonIndent

func (j JApi) ToJsonIndent() ([]byte, error)

func (*JApi) ValidateJAPI

func (j *JApi) ValidateJAPI() *jerr.JAPIError

ValidateJAPI validates .jst file

Jump to

Keyboard shortcuts

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