tpath

package
v0.0.0-...-3760a16 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const CURRENT = "_current"

Current represents the 'current' traveler namespace

Variables

This section is empty.

Functions

func GetAllNamespaces

func GetAllNamespaces(d any) []string

func GetNamespace

func GetNamespace(path string) string

GetNamespace returns the namespace of the provided path

Example: GetNamespace("$gene.symbol.ensembl") returns "gene"

func IsGraphField

func IsGraphField(f string) bool

func NormalizePath

func NormalizePath(path string) string

func Render

func Render(template any, data map[string]any) (any, error)

func ToLocalPath

func ToLocalPath(path string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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