debian-forge-composer/internal/common
Tomas Hozza 9386a02984 internal/common: add helper functions to get pointer to a basic type value
Add two new helper functions `IntToPtr()` and `BoolToPtr()` to the
`internal/common` package, which can be used to conveniently set
basic type literals in a struct literal, in which pointer to the basic
type is expected.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
2021-07-08 19:37:09 +02:00
..
helpers.go tests: add coverage for common/helpers.go 2020-04-02 09:14:40 +02:00
helpers_test.go tests: add coverage for common/helpers.go 2020-04-02 09:14:40 +02:00
pointers.go internal/common: add helper functions to get pointer to a basic type value 2021-07-08 19:37:09 +02:00
pointers_test.go internal/common: add helper functions to get pointer to a basic type value 2021-07-08 19:37:09 +02:00
states.go fix: unused function arg 2021-07-02 10:38:04 +02:00
states_test.go weldr: move common.ComposeState to weldr 2020-11-09 14:17:19 +01:00