ottltest.go 359 B

1234567891011121314151617181920
  1. // Copyright The OpenTelemetry Authors
  2. // SPDX-License-Identifier: Apache-2.0
  3. package ottltest // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/ottl/ottltest"
  4. func Strp(s string) *string {
  5. return &s
  6. }
  7. func Floatp(f float64) *float64 {
  8. return &f
  9. }
  10. func Intp(i int64) *int64 {
  11. return &i
  12. }
  13. func Boolp(b bool) *bool {
  14. return &b
  15. }