buildinfo

package
v1.19.2 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: Apache-2.0 Imports: 1 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.

func Version

func Version() string

Version returns the Dapr version. This is either a semantic version number or else, in the case of unreleased code, the string "edge".

Types

This section is empty.

Jump to

Keyboard shortcuts

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