package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Jul 24, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package ptrfrom helps getting pointers when declaring literals in tests.
Example:
wantArtifactSpec := model.ArtifactSpec {
Algorithm: ptrfrom.String("sha256"),
Digest: ptrfrom.String("asdfqwer"),
}
Bool helps get bool pointers for test literals
Float64 helps get float64 pofloaters for test literals
Int helps get int pointers for test literals
Int64 helps get int64 pointers for test literals
String helps get string pointers for test literals
Time helps get time pointers for test literals
Source Files
¶
Click to show internal directories.
Click to hide internal directories.