Discover Packages
github.com/AdguardTeam/golibs
version
package
Version:
v0.35.21
Opens a new window with list of versions in this module.
Published: Nov 27, 2026
License: Unlicense
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 5 modules, 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.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package version contains the version information.
Example of the build command:
PKG="github.com/AdguardTeam/golibs/version"
go build -ldflags " \
-X ${PKG}.version=1.0.0 \
-X ${PKG}.committime=2026-04-20T10:00:00Z \
-X ${PKG}.revision="e3133f34fsdsd34fsfdbxffd54edf2123cds1ds0" \
-X ${PKG}.branch="AGDNS-0000-test" \
"
RaceEnabled is true if the current binary has been built with --race.
Branch returns the compiled-in value of the Git branch.
CommitTime returns the compiled-in value of the commit time as a string.
Revision returns the compiled-in value of the Git revision.
Version returns the compiled-in value of the build version as a string. It
returns either the compiled-in value or the one from the environment.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.