genutil

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

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

Go to latest
Published: Feb 12, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFile

func CreateFile(fn string) (*os.File, error)

func LooksLikeContainer

func LooksLikeContainer(s string) bool

func LooksLikeStruct

func LooksLikeStruct(s string) bool

func MakeValidator

func MakeValidator(s *schema.Schema, ctx interface{}) (*jsval.JSVal, error)

func SplitVersion

func SplitVersion(v string) []int

func TitleToName

func TitleToName(s string) string

func VersionCompare

func VersionCompare(v1, v2 string) int

func WriteDoNotEdit

func WriteDoNotEdit(out io.Writer)

func WriteFmtCode

func WriteFmtCode(out io.Writer, buf *bytes.Buffer) error

func WriteImports

func WriteImports(out io.Writer, stdlibs, extlibs []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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