example

package
v0.0.0-...-5db323b Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2016 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bar

type Bar struct {
}

Bar is another simple for demo

type Foo

type Foo struct {
	*Bar
	// contains filtered or unexported fields
}

Foo a simple struct for demo

func NewFoo

func NewFoo(options ...func(*Foo)) *Foo

NewFoo creates a Foo

type Option

type Option func(*Foo)

func MyOptionFirst

func MyOptionFirst(fst int) Option

MyOptionFirst the generated function is MyOptionFirst

func MyOptionFourth

func MyOptionFourth(fourth *ast.Field) Option

MyOptionFourth the generated function is MyOptionFourth fourth field first comment 2nd line

func MyOptionSecond

func MyOptionSecond(snd *Bar) Option

func MyOptionTrd

func MyOptionTrd(trd []string) Option

MyOptionTrd the generated function is MyOptionTrd

Jump to

Keyboard shortcuts

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