Skip to content

Commit

Permalink
Move templating to a separate module
Browse files Browse the repository at this point in the history
  • Loading branch information
isimluk committed May 16, 2020
1 parent 14eec39 commit f269458
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion metaschema/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"os"

"github.com/gocomply/metaschema/metaschema/parser"
"github.com/gocomply/metaschema/metaschema/template"
)

func Generate(metaschemaDir string) error {
Expand All @@ -33,7 +34,7 @@ func Generate(metaschemaDir string) error {
return err
}

if err := GenerateTypes(meta); err != nil {
if err := template.GenerateTypes(meta); err != nil {
return err
}
}
Expand Down
2 changes: 1 addition & 1 deletion metaschema/template.go → metaschema/template/template.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package metaschema
package template

import (
"bytes"
Expand Down
File renamed without changes.

0 comments on commit f269458

Please sign in to comment.