Skip to content

Commit 01c812d

Browse files
committed
Fix warning about exported function returning unexported type
1 parent 4ae82f8 commit 01c812d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/environment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ type envEnvelope struct {
8181
}
8282

8383
// ReadEnvironment reads an environment from the given JSON
84-
func ReadEnvironment(data json.RawMessage) (*environment, error) {
84+
func ReadEnvironment(data json.RawMessage) (Environment, error) {
8585
env := NewDefaultEnvironment().(*environment)
8686

8787
var envelope envEnvelope

0 commit comments

Comments
 (0)