Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
4993940aca |
@@ -11,7 +11,11 @@ import (
|
||||
//go:embed gen.go.tmpl
|
||||
var fileTemplate string
|
||||
|
||||
func render(driver, schemaPath, outputPath string) error {
|
||||
func render(driver, schemaPath, outputPath string) (err error) {
|
||||
outputPath, err = filepath.Abs(outputPath)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
sch, err := parsePath(driver, schemaPath)
|
||||
if err != nil {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user