How about moving to `resource.go` and adding tests in `resource_test.go`? _Originally posted by @pellared in https://github.com/open-telemetry/opentelemetry-go-contrib/pull/4741#discussion_r1453179721_