clientgo

package
v2.13.1 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: MIT Imports: 15 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

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

Generator generates a Go client for api_gen

func NewGenerator

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