defaultsource

package
v0.0.0-...-02fd228 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2017 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package defaultsource provides a staple source from which templates may be written. Accessible via a source string of "default". This file should contain a mixture of all possible templatable features.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Func1

func Func1()

func Func2

func Func2(a, b int) int

func Func3

func Func3(a, b int) (bool, error)

Types

type Interface1

type Interface1 interface {
	Method1()
}

type Interface2

type Interface2 interface {
	Method2A(int)
	Method2B(a, b int)
}

type Interface3

type Interface3 interface {
	Method3A() error
	Method3B(int) error
	Method3C(a, b int) (bool, error)
}

type Struct1

type Struct1 struct {
	Field1 int
}

type Struct2

type Struct2 struct {
	Field1 int
	Field2 bool
	Field3 string
}

type Struct3

type Struct3 struct {
	Field1 string
}

Jump to

Keyboard shortcuts

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