Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultJuteImport = "github.com/go-zookeeper/jute/lib/go/jute"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ModuleMap ¶
type ModuleMap struct { Re *regexp.Regexp // Regexp to match Repl string // Re replacement string (see regexp.ReplaceAll) Skip bool // Don't generate files for the matching jute modules }
ModuleMap helps map jute modules to go packages.
type Options ¶
type Options struct { // Base import path for generated packages ImportPathPrefix string // if not blank will use for serialization/deserialization libraries JuteImport string // map of hute modles to go packages. The BaseImportPath is prepended to // these values. ModuleMap []ModuleMap }
Options can be passed to Generate to modify the output.
Click to show internal directories.
Click to hide internal directories.