Documentation ¶
Index ¶
Constants ¶
View Source
const PtrSize = 32 << uintptr(^uintptr(0)>>63) //nolint:unconvert
PtrSize returns the size of the pointer type for this system This will be 64 on 64-bit environments, and 32 on 32-bit ones See: https://stackoverflow.com/a/25741986/192024
Variables ¶
This section is empty.
Functions ¶
func AddFeature ¶ added in v1.12.0
func AddFeature(feature string)
AddFeature adds a new feature to the featuresSlice. It's primarily meant for testing purposes. This should only be called as part of an init() method.
func Commit ¶
func Commit() string
Commit returns the git commit SHA for the code that Dapr was built from.
func Features ¶
func Features() []string
Features returns the list of features enabled for this build.
func GitVersion ¶
func GitVersion() string
GitVersion returns the git version for the code that Dapr was built from.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.