feat: with acceptest

This commit is contained in:
2023-04-06 22:30:09 +02:00
parent ee922175c1
commit 8d514ab698
50 changed files with 4411 additions and 1 deletions

View File

@@ -27,7 +27,12 @@ func WithPath(path string) OptsFunc {
}
func Format(ctx context.Context, optsFuncs ...OptsFunc) error {
opts := &Opts{}
opts := &Opts{
Path: ".",
IgnoredFiles: []string{
".shuttle/",
},
}
for _, f := range optsFuncs {
err := f(ctx, opts)