generator

package
v0.0.0-...-ac156b6 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TplPath = "./gen/generator/tpl/%s.go.tpl"

Functions

func ApiTemplate

func ApiTemplate(filename string, api gen.Api, apiGroup gen.ApiGroup) error

func ErrorsTemplate

func ErrorsTemplate(filename string, apis []gen.ApiGroup) error

func Generate

func Generate(bluezApi gen.BluezAPI, outDir string, forceOverwrite bool) error

Generate go code from the API definition

func InterfacesTemplate

func InterfacesTemplate(filename string, apis []gen.ApiGroup) error

func RootTemplate

func RootTemplate(filename string, api gen.ApiGroup) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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