generator

package
v0.0.0-...-7f43d4a Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: Apache-2.0 Imports: 14 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 *types.Api, apiGroup *types.ApiGroup) error

func ErrorsTemplate

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

func Generate

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

Generate go code from the API definition

func InterfacesTemplate

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

func RootTemplate

func RootTemplate(filename string, api *types.ApiGroup) error

func VersionTemplate

func VersionTemplate(filename, version string) error

VersionTemplate generate the version file

Types

This section is empty.

Jump to

Keyboard shortcuts

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