Skip to content

Commit 1689bcf

Browse files
author
Jelle Dijkstra
committed
Marshaller for CRS
1 parent cefe943 commit 1689bcf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/wms130/crs_yaml.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,7 @@ func (c *CRS) UnmarshalYAML(unmarshal func(interface{}) error) error {
1414

1515
return nil
1616
}
17+
18+
func (c *CRS) MarshalYAML() (interface{}, error) {
19+
return c.String(), nil
20+
}

0 commit comments

Comments
 (0)