Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Dir = filepath.Dir(os.Args[0])
Dir is the working directory of the seed.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option interface {
AddTo(Seed)
}
Option can be used to modify a seed.
type Seed ¶
type Seed struct {
// contains filtered or unexported fields
}
Seed is an extendable entity type. Other packages can associate data with a seed. Seeds can have options applied to them and are also options themselves (seeds can be added to seeds).
func (Seed) Load ¶
Load loads the associated data of data's type into data and then returns true. If no data is found, data is set to the empty value and false is returned instead.
Directories ¶
Path | Synopsis |
---|---|
clientsafe
Package clientsafe provides an error type that is safe to show to clients.
|
Package clientsafe provides an error type that is safe to show to clients. |
clientzip
Package clientzip provides clientside zipping functionality.
|
Package clientzip provides clientside zipping functionality. |
examples
|
|
new
|
|
api
Package api provides a structure for designing an API for your app.
|
Package api provides a structure for designing an API for your app. |
choices
Package choices provides a more feature-full dropdown.
|
Package choices provides a more feature-full dropdown. |
dropdown
Package dropdown provides an input widget for selecting from an array of preset values.
|
Package dropdown provides an input widget for selecting from an array of preset values. |
dropzone
Package dropzone provides functionality for file dropzones.
|
Package dropzone provides functionality for file dropzones. |
page
Package page provides global pages that can be swapped in and out.
|
Package page provides global pages that can be swapped in and out. |
paymentbox
Package paymentbox provides a (stripe) secured input that accepts payment details.
|
Package paymentbox provides a (stripe) secured input that accepts payment details. |
view
Package view provides local view that can be swapped in and out.
|
Package view provides local view that can be swapped in and out. |
use
|
|
css
This file is computer-generated This file is computer-generated
|
This file is computer-generated This file is computer-generated |
Click to show internal directories.
Click to hide internal directories.