gen

package
v0.0.0-...-427ddc2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2017 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Gen

func Gen(exercise string, j interface{}, t *template.Template) error

Gen generates the exercise cases_test.go file from the relevant canonical-data.json

Types

type Header struct {
	Origin  string
	Commit  string
	Version string
}

Header tells how the test data was generated, for display in the header of cases_test.go

func (Header) String

func (h Header) String() string

Jump to

Keyboard shortcuts

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