Documentation
¶
Index ¶
- func GetAbsPath(manifestDir, pathSpec string) string
- func GetStringFromInterface(queryParam interface{}) (string, error)
- func IsParallelPathSpec(pathSpec []byte) bool
- func IsPathSpec(pathSpec []byte) bool
- func Max(x, y int) int
- func OpenFileOrUrl(path, rootDir string) (string, io.ReadCloser, error)
- type GenericJson
- type JsonArray
- type JsonBool
- type JsonNumber
- type JsonObject
- type JsonString
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAbsPath ¶
func GetStringFromInterface ¶
func IsParallelPathSpec ¶
func IsPathSpec ¶
func OpenFileOrUrl ¶
func OpenFileOrUrl(path, rootDir string) (string, io.ReadCloser, error)
OpenFileOrUrl opens either a local file or gives the resp.Body from a remote file
Types ¶
type GenericJson ¶
type GenericJson = interface{}
func RemoveFromJsonArray ¶
func RemoveFromJsonArray(input []GenericJson, removeIndex int) (output []GenericJson)
type JsonArray ¶
type JsonArray = []GenericJson
type JsonNumber ¶
type JsonNumber = float64
type JsonObject ¶
type JsonObject = map[string]GenericJson
type JsonString ¶
type JsonString = string
Click to show internal directories.
Click to hide internal directories.