fix: update models.go in generate.go (#865)

This commit is contained in:
Colin Adler
2022-04-04 14:53:04 -05:00
committed by GitHub
parent e0eae49f52
commit b621c59a03

View File

@ -28,8 +28,11 @@ for fi in queries/*.sql.go; do
tail -n "+$cut" < "$fi" >> queries.sql.go
done
# Remove temporary go files.
# Move the files we want.
mv queries/querier.go .
mv queries/models.go .
# Remove temporary go files.
rm -f queries/*.go
# Fix struct/interface names.