clientgo

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package clientgo generates client-side Go library

Package clientgo generates client-side Go library

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator added in v1.10.0

type Generator interface {
	GenerateClient() (string, error)
	GenerateTypes(fn func(relPath, code string) error) error
}

Generator generates a Go client for api_gen

func NewGenerator added in v1.10.0

func NewGenerator(gr *parser.Group, typesDirImportPath, packageName, version string) Generator

NewGenerator generates a Go client for api_gen

Jump to

Keyboard shortcuts

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