Closed podhmo closed 3 years ago
$ go run 11web/gen.go ! override provider[name="db"] = m/11web/design.NewDB [type=func(context.Context) (*design.DB, error)] detect target packages ... * runtime package -> m/11web/runtime * handler package -> m/11web/handler * provider package -> m/11web/handler * router package -> m/11web/handler generate handler package ... + translate m/11web/design.PostArticleComment -> handler m/11web/handler.PostArticleComment + translate m/11web/design.ListArticle -> handler m/11web/handler.ListArticle + translate m/11web/design.GetArticle -> handler m/11web/handler.GetArticle generate router package ... + generate m/11web/handler.Mount() generate runtime package ... + generate runtime (almost copy) + generate HandleResult() with design.HTTPStatusOf emit files ... F create C:\Users\me\ghq\github.com\podhmo\apikit\_examples\11web\handler\PostArticleComment.go F create C:\Users\me\ghq\github.com\podhmo\apikit\_examples\11web\handler\ListArticle.go F create C:\Users\me\ghq\github.com\podhmo\apikit\_examples\11web\handler\GetArticle.go F create C:\Users\me\ghq\github.com\podhmo\apikit\_examples\11web\handler\mount.go F create C:\Users\me\ghq\github.com\podhmo\apikit\_examples\11web\handler\Provider.go F create C:\Users\me\ghq\github.com\podhmo\apikit\_examples\11web\runtime\runtime.go F create C:\Users\me\ghq\github.com\podhmo\apikit\_examples\11web\runtime\HandleResult.go