A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pkg.go.dev/github.com/moby/moby/v2@v2.0.0-20250814210528-a34c4d9bb99f/pkg/useragent below:

useragent package - github.com/moby/moby/v2/pkg/useragent - Go Packages

Package useragent provides helper functions to pack version information into a single User-Agent header.

This section is empty.

This section is empty.

AppendVersions converts versions to a string and appends the string to the string base.

Each VersionInfo will be converted to a string in the format of "product/version", where the "product" is get from the name field, while version is get from the version field. Several pieces of version information will be concatenated and separated by space.

Example: AppendVersions("base", VersionInfo{"foo", "1.0"}, VersionInfo{"bar", "2.0"}) results in "base foo/1.0 bar/2.0".

VersionInfo is used to model UserAgent versions.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4