generator

package
v0.0.0-...-49a8fee Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 7 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 {
	ModuleName string         `json:"module_name"`
	GoVersion  string         `json:"go_version"`
	Imports    []ConfigImport `json:"imports"`
}

func (Config) GenerateInto

func (c Config) GenerateInto(ctx context.Context, dir string) error

type ConfigImport

type ConfigImport struct {
	Package string `json:"package"`
}

Jump to

Keyboard shortcuts

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