gen

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	SearchDir        string
	OutputDir        string
	OutputIndexName  string
	TemplateDir      string
	ExcludesDir      string
	IsGenSingleFile  bool
	IsGenMocks       bool
	IsMockServer     bool
	MockServerListen string
}

type Gen

type Gen struct {
	// contains filtered or unexported fields
}

func New

func New(c *Config) *Gen

func (*Gen) Build

func (g *Gen) Build() error

type TemplateConfig

type TemplateConfig struct {
	Name  string `json:"name"`
	Index string `json:"index"`
}

Jump to

Keyboard shortcuts

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