pathvar

package
v0.0.0-...-3287af7 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CryptoConfigPath = "crypto-config"

CryptoConfigPath is the relative path to the generated crypto config directory

View Source
var Project = "gitee.com/hyperledger-fabric-gm/fabric-sdk-go"

Project is the Go project name relative to the Go Path

View Source
var ProjectPath = ""

ProjectPath is the path to the source of fabric-sdk-go

Functions

func GetProjectPath

func GetProjectPath() string

GetProjectPath returns the path to the source of fabric-sdk-go. More specifically, this function searches for the directory containing the project's go.mod file. This function must only be called from tests.

func Subst

func Subst(path string) string

Subst replaces instances of '${VARNAME}' (eg ${GOPATH}) with the variable. Variables names that are not set by the SDK are replaced with the environment variable.

Types

This section is empty.

Jump to

Keyboard shortcuts

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