gostdlib

package
v0.0.0-...-3bf9a8f Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB_Database = Qual("github.com/worldiety/devdrasil/db", "Database")
View Source
var DB_PK = Qual("github.com/worldiety/devdrasil/db", "PK")

Functions

func QualifierFromClass

func QualifierFromClass(class *builder.Class) *Statement

func QualifierFromType

func QualifierFromType(t *builder.Type) *Statement

Types

type GoPackageType

type GoPackageType struct {
	// something like mypackage/otherpackage
	Import string
	// something like otherpackage
	NamedImport string
	//something like mypackage.otherpackage.MyType
	FullQualifiedName string
	//something like MyType
	Name string
}

func (*GoPackageType) GetIdentifier

func (t *GoPackageType) GetIdentifier() string

type GoStdlibGenerator

type GoStdlibGenerator struct {
}

func (*GoStdlibGenerator) Generate

func (g *GoStdlibGenerator) Generate(ctx *builder.GeneratorContext) error

Jump to

Keyboard shortcuts

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