Documentation
¶
Overview ¶
Package packages contains utilities to deal with package names in a robust manner. This will be useful on ensuring our code being robust against package prefix changes.
Index ¶
Constants ¶
View Source
const FrameworkPrefix = "go.chromium.org/tast/core/"
FrameworkPrefix is the newer common framework package prefix.
View Source
const OldFrameworkPrefix = "chromiumos/tast/"
OldFrameworkPrefix is the older common framework package prefix.
Variables ¶
This section is empty.
Functions ¶
func Normalize ¶
Normalize normalizes old framework package path to a newer corresponding one. If the given string doesn't start with OldFrameworkPrefix, Normalize returns the unmodified string.
func SplitFuncName ¶
SplitFuncName splits runtime.Func.Name() into package and function name.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.