info

package
v0.0.0-...-7c6d2c3 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2015 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListFunctions

func ListFunctions(bindir string) []string

ListFunctions returns a list of all gofn function in the bindir directory.

func NameToPath

func NameToPath(name, bindir, sep string) string

NameToPath returns the path to the give gofn function name.

Types

type Info

type Info struct {
	FnvHash   uint32
	Time      time.Time
	Goversion string
}

Info hosts the values 'gofn -info' returns.

func ByName

func ByName(name, bindir, sep string) (Info, error)

ByName returns the Info object for passed gofn-function name.

func NewInfo

func NewInfo(fnCode string) Info

NewInfo creates a new Info object using the passed function code fnCode.

func ToInfo

func ToInfo(s string) (Info, error)

ToInfo converts the passed string s to an Info object.

func (Info) String

func (info Info) String() string

Jump to

Keyboard shortcuts

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