artisan

package
v0.0.0-...-3b54ddd Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Go2Pb

func Go2Pb() (err error)

func Json2Go

func Json2Go() (err error)

func S

func S(root string, output string) (err error)

func Swagger

func Swagger(path, output string)

func Xml2Go

func Xml2Go() (err error)

Types

type Definition

type Definition struct {
	Types      string               `json:"type"`
	Items      interface{}          `json:"items,omitempty"`
	Properties map[string]Propertie `json:"properties,omitempty"`
}

type DefinitionInner

type DefinitionInner struct {
	Types      string               `json:"type"`
	Properties map[string]Propertie `json:"properties"`
}

type Propertie

type Propertie struct {
	Types       string `json:"type"`
	Ref         string `json:"$ref,omitempty"`
	Default     string `json:"default"`
	Description string `json:"description"`
}

type Schema

type Schema struct {
	Ref string `json:"&ref"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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