resource

package
v0.0.0-...-03ea0d3 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: Apache-2.0 Imports: 4 Imported by: 1

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.

Jump to

Keyboard shortcuts

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