Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidOptions = errors.New("invalid options")
)
View Source
var (
ErrTypeUnknown = errors.New("unknown data type")
)
Functions ¶
func Asset ¶
Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.
func AssetDir ¶
AssetDir returns the file names below a certain directory embedded in the file by go-bindata. For example if you run go-bindata on data/... and data contains the following hierarchy:
data/ foo.txt img/ a.png b.png
then AssetDir("data") would return []string{"foo.txt", "img"} AssetDir("data/img") would return []string{"a.png", "b.png"} AssetDir("foo.txt") and AssetDir("notexist") would return an error AssetDir("") will return []string{"data"}.
Types ¶
type Options ¶
type Options struct { Instance string `short:"i" long:"instance" description:"The Cassandra instance to connect to"` Keyspace string `short:"k" long:"keyspace" description:"The keyspace that contains the target schema"` Package string `short:"p" long:"package" description:"The name of the target package for the generated code"` Output string `short:"o" long:"output" description:"The file to write the generated bindings to"` Version func() `short:"V" long:"version" description:"Print cqlc version and exit"` Verbose []bool `short:"v" long:"verbose" description:"Show verbose debug information"` Symbols bool `short:"s" long:"symbols" description:"Generate compile symbols for each column family"` Username string `short:"u" long:"username" description:"Username for authentication"` Password string `short:"w" long:"password" description:"Password for authentication"` }
Click to show internal directories.
Click to hide internal directories.