generators

package
v1.7.16 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package generators has the generators for the client-gen utility.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultNameSystem

func DefaultNameSystem() string

DefaultNameSystem returns the default name system for ordering the types to be processed by the generators in this package.

func NameSystems

func NameSystems() namer.NameSystems

NameSystems returns the name system used by the generators in this package.

func NewTagOverrideNamer added in v1.7.0

func NewTagOverrideNamer(tagName string, fallback namer.Namer) namer.Namer

NewTagOverrideNamer creates a namer.Namer which uses the contents of the given tag as the name, or falls back to another Namer if the tag is not present.

func Packages

func Packages(context *generator.Context, arguments *args.GeneratorArgs) generator.Packages

Packages makes the client package definition.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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