client

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2020 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllowEllipsis

func AllowEllipsis(ctx context.Context) bool

func IsContextFirst

func IsContextFirst(fields []types.Variable) bool

func IsErrorLast

func IsErrorLast(fields []types.Variable) bool

func MakeService

func MakeService(backend, srcPath, outPath string, services []types.Interface) (err error)

func MakeServices

func MakeServices(serviceDirectory, outPath string) (err error)

func SourcePackageImport

func SourcePackageImport(ctx context.Context) string

func WithSourcePackageImport

func WithSourcePackageImport(parent context.Context, val string) context.Context

func WithTags

func WithTags(parent context.Context, tt TagsSet) context.Context

Types

type TagsSet

type TagsSet map[string]struct{}

func Tags

func Tags(ctx context.Context) TagsSet

func (TagsSet) Add

func (s TagsSet) Add(item string)

func (TagsSet) Has

func (s TagsSet) Has(item string) bool

func (TagsSet) HasAny

func (s TagsSet) HasAny(items ...string) bool

Jump to

Keyboard shortcuts

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