---
name: "cdist-type__go_get"
section: "7"
platform: "linux"
package: "cdist"
version: "7.0.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/cdist-type__go_get"
---

# cdist-type\_\_go\_get(7)

Install go packages with go get

## NAME

cdist-type\_\_go\_get - Install go packages with go get

## DESCRIPTION

This cdist type allows you to install golang packages with go get. A sufficiently recent version of go must be present on the system.

The object ID is the go package to be installed.

## REQUIRED PARAMETERS

None.

## OPTIONAL PARAMETERS

None.

## EXAMPLES

```
__go_get github.com/prometheus/prometheus/cmd/...
# usually you'd need to require golang from somewhere:
require="__golang_from_vendor" __go_get github.com/prometheus/prometheus/cmd/...
```

## AUTHORS

Kamila Součková \<*kamila@ksp.sk*\>

## COPYING

Copyright (C) 2017 Kamila Součková. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

## COPYRIGHT

ungleich GmbH 2021
