Help us shape the future of Go! Take the 2026 Go Developer Survey

def

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2017 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Definition

type Definition interface {
	ID() string
	Name() string
	Kind() string
	Type(caller string) (string, error)
	Dependencies() ([]Definition, error)
	Generate() (string, error)

	// This comes after the definion is
	// already made is sort of hacky
	// TODO: come up with a better solution
	SetPackage(pkg string)
	GetPackage() string

	SetFile(file string)
	GetFile() string
}

Definition interface

Jump to

Keyboard shortcuts

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