extension

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Assets

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

Assets writes the given content to corresponding paths, borrows from entgo.io/ent/entc/gen/graph.go.

func (*Assets) Add

func (a *Assets) Add(path string, content []byte)

Add adds content which should write to the given path later.

func (Assets) Format

func (a Assets) Format() error

Format runs "goimports" on all outputs.

func (Assets) Write

func (a Assets) Write() error

Write outputs added content to corresponding paths.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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