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> |
||
|---|---|---|
| .. | ||
| helpers.go | ||
| helpers_test.go | ||
| pointers.go | ||
| pointers_test.go | ||
| states.go | ||
| states_test.go | ||