embedgen

package module
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(config Config) ([]byte, error)

Generate returns Go source for a precise go:embed list.

Types

type Config

type Config struct {
	Name     string
	Root     string
	Patterns []string
	Package  string
}

Config describes one generated embed file.

Jump to

Keyboard shortcuts

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