Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { // An absolute path containing the base directory of the project. // NOTE: it panics if it's not set. Base string // Path relative to the Base path pointing to the JSON file. // Default: "database.json" Relative string // The name of the current environment. Default: "development". Environment string // The name of the DBMS driver. If Heroku is set to true, this option will // be ignored since we're always picking "postgres" in Heroku. If Heroku // is set to false, then it defaults to "postgres". DBMS string // Set to true if the Open function has to deal with Heroku's config. Heroku bool }
The options that can be passed to the Open function.
Click to show internal directories.
Click to hide internal directories.