Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // LocalResourcePath is the relative path from the base of the repo // to the resource directory and will be used in case this repo is // not installed within the system's "GOPATH". LocalResourcePath = "src/resources" // ResourcePath is the default path to the resource directory. ResourcePath = "/github.com/facebookresearch/Clinical-Trial-Parser/" + LocalResourcePath // LocalDataPath is the relative path from the base of the repo // to the data directory and will be used in case this repo is // not installed within the system's "GOPATH". LocalDataPath = "data" // DataPath is the default path to the data directory. DataPath = "/github.com/facebookresearch/Clinical-Trial-Parser/" + LocalDataPath )
Functions ¶
func GetDataPath ¶
func GetDataPath() string
GetDataPath returns the path to the project's data directory.
func GetResourcePath ¶
func GetResourcePath() string
GetResourcePath returns the path to the project's resource directory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.