Skip to content
This repository was archived by the owner on Sep 13, 2023. It is now read-only.

Commit 70c9f96

Browse files
Merge pull request #12 from neotoolkit/feat/extension
fix(schema): add pointer
2 parents 3ec9d14 + 8fdbe11 commit 70c9f96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

schema.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type Schema struct {
2121
}
2222

2323
// GetExtensions -.
24-
func (s Schema) GetExtensions() (map[string]interface{}, error) {
24+
func (s *Schema) GetExtensions() (map[string]interface{}, error) {
2525
bytes, err := yaml.Marshal(s.Extensions)
2626
if err != nil {
2727
return nil, err

0 commit comments

Comments
 (0)