buffalo new coke --api -v
DEBU[2021-04-26T11:39:03+08:00] packr#New name="buffalo:genny:newapp:core" path=../core/templates
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key="buffalo:genny:newapp:core" name="buffalo:genny:newapp:core"
DEBU[2021-04-26T11:39:03+08:00] packr.Box#found box="{"path":"../core/templates","name":"buffalo:genny:newapp:core","resolution_dir":"../core/templates","default_resolver":null}"
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" forward-box=c0c964921797caa6d52bcd12ef38ede5 forward-path=357939eff9d3a7884ef4ebadca1b1668 path=-dot-codeclimate.yml.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key=c0c964921797caa6d52bcd12ef38ede5 name=c0c964921797caa6d52bcd12ef38ede5
DEBU[2021-04-26T11:39:03+08:00] packr.Box#found box="{"path":"","name":"c0c964921797caa6d52bcd12ef38ede5","resolution_dir":"/Users/freeman/Documents/workspaces/GolandProjects","default_resolver":{}}"
DEBU[2021-04-26T11:39:03+08:00] resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 key=357939eff9d3a7884ef4ebadca1b1668
DEBU[2021-04-26T11:39:03+08:00] resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 name=357939eff9d3a7884ef4ebadca1b1668
DEBU[2021-04-26T11:39:03+08:00] resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 file=357939eff9d3a7884ef4ebadca1b1668 key=357939eff9d3a7884ef4ebadca1b1668
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" file="version: "2"\nchecks:\n method-lines:\n config:\n threshold: 100\nplugins:\n fixme:\n enabled: true\n gofmt:\n enabled: true\n golint:\n enabled: true\n govet:\n enabled: true\nexclude_patterns:\n - grifts/**/\n - "**/_test.go"\n - "_test.go"\n - "**_test.go"\n - logs/\n - public/\n - templates/*\n - "/node_modules/"\n" path=-dot-codeclimate.yml.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" forward-box=c0c964921797caa6d52bcd12ef38ede5 forward-path=3ab914a64676d62186c6060f4988dd39 path=README.md.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key=c0c964921797caa6d52bcd12ef38ede5 name=c0c964921797caa6d52bcd12ef38ede5
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#found box="{"path":"","name":"c0c964921797caa6d52bcd12ef38ede5","resolution_dir":"/Users/freeman/Documents/workspaces/GolandProjects","default_resolver":{}}"
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 key=3ab914a64676d62186c6060f4988dd39
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 name=3ab914a64676d62186c6060f4988dd39
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 file=3ab914a64676d62186c6060f4988dd39 key=3ab914a64676d62186c6060f4988dd39
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" file="# Welcome to Buffalo!\n\nThank you for choosing Buffalo for your web development needs.\n\n{{ if .opts.App.WithPop -}}\n## Database Setup\n\nIt looks like you chose to set up your application using a database! Fantastic!\n\nThe first thing you need to do is open up the "database.yml" file and edit it to use the correct usernames, passwords, hosts, etc... that are appropriate for your environment.\n\nYou will also need to make sure that you start/install the database of your choice. Buffalo won't install and start it for you.\n\n### Create Your Databases\n\nOk, so you've edited the "database.yml" file and started your database, now Buffalo can create the databases in that file for you:\n\n\t$ buffalo pop create -a\n\n{{end -}}\n\n## Starting the Application\n\nBuffalo ships with a command that will watch your application and automatically rebuild the Go binary and any assets for you. To do that run the "buffalo dev" command:\n\n\t$ buffalo dev\n\nIf you point your browser to http://127.0.0.1:3000 you should see a "Welcome to Buffalo!" page.\n\nCongratulations!** You now have your Buffalo application up and running.\n\n## What Next?\n\nWe recommend you heading over to http://gobuffalo.io and reviewing all of the great documentation there.\n\nGood luck!\n\nPowered by Buffalo\n" path=README.md.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" forward-box=c0c964921797caa6d52bcd12ef38ede5 forward-path=59c3c4502bfd1cb86f9a7572f82ea9ed path=actions/app.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key=c0c964921797caa6d52bcd12ef38ede5 name=c0c964921797caa6d52bcd12ef38ede5
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#found box="{"path":"","name":"c0c964921797caa6d52bcd12ef38ede5","resolution_dir":"/Users/freeman/Documents/workspaces/GolandProjects","default_resolver":{}}"
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 key=59c3c4502bfd1cb86f9a7572f82ea9ed
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 name=59c3c4502bfd1cb86f9a7572f82ea9ed
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 file=59c3c4502bfd1cb86f9a7572f82ea9ed key=59c3c4502bfd1cb86f9a7572f82ea9ed
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" file="package actions\n\nimport (\n\t"github.com/gobuffalo/buffalo"\n\t"github.com/gobuffalo/envy"\n\tforcessl "github.com/gobuffalo/mw-forcessl"\n\tparamlogger "github.com/gobuffalo/mw-paramlogger"\n\t"github.com/unrolled/secure"\n)\n\n// ENV is used to help switch settings based on where the\n// application is being run. Default is "development".\nvar ENV = envy.Get("GO_ENV", "development")\nvar app *buffalo.App\n\n// App is where all routes and middleware for buffalo\n// should be defined. This is the nerve center of your\n// application.\n//\n// Routing, middleware, groups, etc... are declared TOP -> DOWN.\n// This means if you add a middleware to app
after declaring a\n// group, that group will NOT have that new middleware. The same\n// is true of resource declarations as well.\n//\n// It also means that routes are checked in the order they are declared.\n// ServeFiles
is a CATCH-ALL route, so it should always be\n// placed last in the route declarations, as it will ensure routes\n// declared after it will never be called.\nfunc App() *buffalo.App {\n\tif app == nil {\n\t\tapp = buffalo.New(buffalo.Options{\n\t\t\tEnv: ENV,\n SessionName: "_{{.opts.App.Name.File}}_session",\n\t\t})\n\n\t\t// Automatically redirect to SSL\n\t\tapp.Use(forceSSL())\n\n\t\t// Log request parameters (filters apply).\n\t\tapp.Use(paramlogger.ParameterLogger)\n\n\t\tapp.GET("/", HomeHandler)\n\t}\n\n\treturn app\n}\n\n// forceSSL will return a middleware that will redirect an incoming request\n// if it is not HTTPS. "http://example.com\" => "https://example.com\".\n// This middleware does not enable SSL. for your application. To do that\n// we recommend using a proxy: https://gobuffalo.io/en/docs/proxy\n// for more information: https://github.com/unrolled/secure/\nfunc forceSSL() buffalo.MiddlewareFunc {\n\treturn forcessl.Middleware(secure.Options{\n\t\tSSLRedirect: ENV == "production",\n\t\tSSLProxyHeaders: map[string]string{"X-Forwarded-Proto": "https"},\n\t})\n}\n" path=actions/app.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" forward-box=c0c964921797caa6d52bcd12ef38ede5 forward-path=fcf9b1fe98670ffe85fadf1593a3b534 path=actions/home_test.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key=c0c964921797caa6d52bcd12ef38ede5 name=c0c964921797caa6d52bcd12ef38ede5
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#found box="{"path":"","name":"c0c964921797caa6d52bcd12ef38ede5","resolution_dir":"/Users/freeman/Documents/workspaces/GolandProjects","default_resolver":{}}"
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 key=fcf9b1fe98670ffe85fadf1593a3b534
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 name=fcf9b1fe98670ffe85fadf1593a3b534
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 file=fcf9b1fe98670ffe85fadf1593a3b534 key=fcf9b1fe98670ffe85fadf1593a3b534
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" file="package actions\n\nimport "net/http"\n\nfunc (as *ActionSuite) Test_HomeHandler() {\n\tres := as.HTML("/").Get()\n\n\tas.Equal(http.StatusOK, res.Code)\n\tas.Contains(res.Body.String(), "Welcome to Buffalo")\n}\n" path=actions/home_test.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" forward-box=c0c964921797caa6d52bcd12ef38ede5 forward-path=cf6712125ddfa9d651b4f66d736d6303 path=main.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key=c0c964921797caa6d52bcd12ef38ede5 name=c0c964921797caa6d52bcd12ef38ede5
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#found box="{"path":"","name":"c0c964921797caa6d52bcd12ef38ede5","resolution_dir":"/Users/freeman/Documents/workspaces/GolandProjects","default_resolver":{}}"
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 key=cf6712125ddfa9d651b4f66d736d6303
DEBU[2021-04-26T11:39:03+08:00] resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 name=cf6712125ddfa9d651b4f66d736d6303
DEBU[2021-04-26T11:39:03+08:00] resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 file=cf6712125ddfa9d651b4f66d736d6303 key=cf6712125ddfa9d651b4f66d736d6303
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" file="package main\n\nimport (\n "log"\n\n "{{ .opts.App.ActionsPkg }}"\n)\n\n// main is the starting point for your Buffalo application.\n// You can feel free and add to this main
method, change\n// what it does, etc...\n// All we ask is that, at some point, you make sure to\n// call app.Serve()
, unless you don't want to start your\n// application that is. :)\nfunc main() {\n app := actions.App()\n if err := app.Serve(); err != nil {\n log.Fatal(err)\n }\n}\n\n/\n# Notes about main.go
\n\n## SSL Support\n\nWe recommend placing your application behind a proxy, such as\nApache or Nginx and letting them do the SSL heavy lifting\nfor you. https://gobuffalo.io/en/docs/proxy\n\n## Buffalo Build\n\nWhen buffalo build
is run to compile your binary, this main
\nfunction will be at the heart of that binary. It is expected\nthat your main
function will start your application using\nthe app.Serve()
method.\n\n/\n" path=main.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" forward-box=c0c964921797caa6d52bcd12ef38ede5 forward-path=c3816880f9d6ede8f28a4a1f0360251d path=-dot-env.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key=c0c964921797caa6d52bcd12ef38ede5 name=c0c964921797caa6d52bcd12ef38ede5
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#found box="{"path":"","name":"c0c964921797caa6d52bcd12ef38ede5","resolution_dir":"/Users/freeman/Documents/workspaces/GolandProjects","default_resolver":{}}"
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 key=c3816880f9d6ede8f28a4a1f0360251d
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 name=c3816880f9d6ede8f28a4a1f0360251d
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 file=c3816880f9d6ede8f28a4a1f0360251d key=c3816880f9d6ede8f28a4a1f0360251d
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" file="# This .env file was generated by buffalo, add here the env variables you need \n# buffalo to load into the ENV on application startup so your application works correctly.\n# To add variables use KEY=VALUE format, you can later retrieve this in your application\n# by using os.Getenv("KEY").\n#\n# Example:\n# DATABASE_PASSWORD=XXXXXXXXX\n# SESSION_SECRET=XXXXXXXXX\n# SMTP_SERVER=XXXXXXXXX\n" path=-dot-env.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" forward-box=c0c964921797caa6d52bcd12ef38ede5 forward-path=fb822827dff50f68a3cd4cbdf7a507a1 path=actions/actions_test.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key=c0c964921797caa6d52bcd12ef38ede5 name=c0c964921797caa6d52bcd12ef38ede5
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#found box="{"path":"","name":"c0c964921797caa6d52bcd12ef38ede5","resolution_dir":"/Users/freeman/Documents/workspaces/GolandProjects","default_resolver":{}}"
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 key=fb822827dff50f68a3cd4cbdf7a507a1
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 name=fb822827dff50f68a3cd4cbdf7a507a1
DEBU[2021-04-26T11:39:03+08:00] resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 file=fb822827dff50f68a3cd4cbdf7a507a1 key=fb822827dff50f68a3cd4cbdf7a507a1
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" file="package actions\n\nimport (\n\t"testing"\n\n\t"github.com/gobuffalo/packr/v2"\n\t"github.com/gobuffalo/suite"\n)\n\ntype ActionSuite struct {\n\tsuite.Action\n}\n\nfunc Test_ActionSuite(t *testing.T) {\n\taction, err := suite.NewActionWithFixtures(App(), packr.New("Test_ActionSuite", "../fixtures"))\n\tif err != nil {\n\t\tt.Fatal(err)\n\t}\n\n\tas := &ActionSuite{\n\t\tAction: action,\n\t}\n\tsuite.Run(t, as)\n}\n" path=actions/actions_test.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" forward-box=c0c964921797caa6d52bcd12ef38ede5 forward-path=ea761d55cd5f5d08a297041a98564260 path=actions/home.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key=c0c964921797caa6d52bcd12ef38ede5 name=c0c964921797caa6d52bcd12ef38ede5
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#found box="{"path":"","name":"c0c964921797caa6d52bcd12ef38ede5","resolution_dir":"/Users/freeman/Documents/workspaces/GolandProjects","default_resolver":{}}"
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 key=ea761d55cd5f5d08a297041a98564260
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 name=ea761d55cd5f5d08a297041a98564260
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 file=ea761d55cd5f5d08a297041a98564260 key=ea761d55cd5f5d08a297041a98564260
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" file="package actions\n\nimport (\n "net/http"\n\n "github.com/gobuffalo/buffalo"\n)\n\n// HomeHandler is a default handler to serve up\n// a home page.\nfunc HomeHandler(c buffalo.Context) error {\n\treturn c.Render(http.StatusOK, r.String("Hello from Buffalo"))\n}\n" path=actions/home.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" forward-box=c0c964921797caa6d52bcd12ef38ede5 forward-path=11da39f868d54d3279affe59a569252f path=actions/render.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key=c0c964921797caa6d52bcd12ef38ede5 name=c0c964921797caa6d52bcd12ef38ede5
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#found box="{"path":"","name":"c0c964921797caa6d52bcd12ef38ede5","resolution_dir":"/Users/freeman/Documents/workspaces/GolandProjects","default_resolver":{}}"
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 key=11da39f868d54d3279affe59a569252f
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 name=11da39f868d54d3279affe59a569252f
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 file=11da39f868d54d3279affe59a569252f key=11da39f868d54d3279affe59a569252f
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" file="package actions\n\nimport (\n\t"github.com/gobuffalo/buffalo/render"\n)\n\nvar r *render.Engine\n\nfunc init() {\n\tr = render.New(render.Options{})\n}\n" path=actions/render.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" forward-box=c0c964921797caa6d52bcd12ef38ede5 forward-path=a2aa87a7f3879b4244cf8c8555382e93 path=fixtures/sample.toml.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key=c0c964921797caa6d52bcd12ef38ede5 name=c0c964921797caa6d52bcd12ef38ede5
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#found box="{"path":"","name":"c0c964921797caa6d52bcd12ef38ede5","resolution_dir":"/Users/freeman/Documents/workspaces/GolandProjects","default_resolver":{}}"
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 key=a2aa87a7f3879b4244cf8c8555382e93
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 name=a2aa87a7f3879b4244cf8c8555382e93
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 file=a2aa87a7f3879b4244cf8c8555382e93 key=a2aa87a7f3879b4244cf8c8555382e93
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" file="[[scenario]]\nname = "lots of widgets"\n\n [[scenario.table]]\n name = "widgets"\n\n [[scenario.table.row]]\n id = "<%= uuidNamed("widget") %>"\n name = "This is widget gobuffalo/buffalo#1"\n body = "some widget body"\n created_at = "<%= now() %>"\n updated_at = "<%= now() %>"\n\n [[scenario.table.row]]\n id = "<%= uuid() %>"\n name = "This is widget gobuffalo/buffalo#2"\n body = "some widget body"\n created_at = "<%= now() %>"\n updated_at = "<%= now() %>"\n\n [[scenario.table]]\n name = "users"\n\n [[scenario.table.row]]\n id = "<%= uuid() %>"\n name = "Mark Bates"\n admin = true\n age = 41\n widget_id = "<%= uuidNamed("widget") %>"\n created_at = "<%= now() %>"\n updated_at = "<%= now() %>"\n\n" path=fixtures/sample.toml.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" forward-box=c0c964921797caa6d52bcd12ef38ede5 forward-path=6d6389bc500aa7c88f06a525ffdc3964 path=grifts/init.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key=c0c964921797caa6d52bcd12ef38ede5 name=c0c964921797caa6d52bcd12ef38ede5
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#found box="{"path":"","name":"c0c964921797caa6d52bcd12ef38ede5","resolution_dir":"/Users/freeman/Documents/workspaces/GolandProjects","default_resolver":{}}"
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 key=6d6389bc500aa7c88f06a525ffdc3964
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 name=6d6389bc500aa7c88f06a525ffdc3964
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 file=6d6389bc500aa7c88f06a525ffdc3964 key=6d6389bc500aa7c88f06a525ffdc3964
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" file="package grifts\n\nimport (\n "github.com/gobuffalo/buffalo"\n\t"{{ .opts.App.ActionsPkg }}"\n)\n\nfunc init() {\n buffalo.Grifts(actions.App())\n}\n" path=grifts/init.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" forward-box=c0c964921797caa6d52bcd12ef38ede5 forward-path=67965ff5ea3fd75bf5d6891d715a8d5f path=inflections.json.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key=c0c964921797caa6d52bcd12ef38ede5 name=c0c964921797caa6d52bcd12ef38ede5
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#found box="{"path":"","name":"c0c964921797caa6d52bcd12ef38ede5","resolution_dir":"/Users/freeman/Documents/workspaces/GolandProjects","default_resolver":{}}"
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 key=67965ff5ea3fd75bf5d6891d715a8d5f
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 name=67965ff5ea3fd75bf5d6891d715a8d5f
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 file=67965ff5ea3fd75bf5d6891d715a8d5f key=67965ff5ea3fd75bf5d6891d715a8d5f
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" file="{\n "singular": "plural"\n}\n" path=inflections.json.tmpl
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#Walk osPath=-dot-codeclimate.yml.tmpl path=-dot-codeclimate.yml.tmpl
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#Walk osPath=-dot-env.tmpl path=-dot-env.tmpl
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#Walk osPath=README.md.tmpl path=README.md.tmpl
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#Walk osPath=actions/actions_test.go.tmpl path=actions/actions_test.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#Walk osPath=actions/app.go.tmpl path=actions/app.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#Walk osPath=actions/home.go.tmpl path=actions/home.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#Walk osPath=actions/home_test.go.tmpl path=actions/home_test.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#Walk osPath=actions/render.go.tmpl path=actions/render.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#Walk osPath=fixtures/sample.toml.tmpl path=fixtures/sample.toml.tmpl
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#Walk osPath=grifts/init.go.tmpl path=grifts/init.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#Walk osPath=inflections.json.tmpl path=inflections.json.tmpl
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#Walk osPath=main.go.tmpl path=main.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr#New name=github.com/gobuffalo/buffalo/common path=../docker/templates/common
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key=github.com/gobuffalo/buffalo/common name=github.com/gobuffalo/buffalo/common
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#found box="{"path":"../docker/templates/common","name":"github.com/gobuffalo/buffalo/common","resolution_dir":"../docker/templates/common","default_resolver":null}"
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" forward-box=c0c964921797caa6d52bcd12ef38ede5 forward-path=200603a93cae9aee719dcb679b44c289 path=-dot-dockerignore.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key=c0c964921797caa6d52bcd12ef38ede5 name=c0c964921797caa6d52bcd12ef38ede5
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#found box="{"path":"","name":"c0c964921797caa6d52bcd12ef38ede5","resolution_dir":"/Users/freeman/Documents/workspaces/GolandProjects","default_resolver":{}}"
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 key=200603a93cae9aee719dcb679b44c289
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 name=200603a93cae9aee719dcb679b44c289
DEBU[2021-04-26T11:39:03+08:00] resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 file=200603a93cae9aee719dcb679b44c289 key=200603a93cae9aee719dcb679b44c289
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" file="node_modules/\n.log\nbin/\n" path=-dot-dockerignore.tmpl
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#Walk osPath=-dot-dockerignore.tmpl path=-dot-dockerignore.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr#New name=github.com/gobuffalo/buffalo/multi path=../docker/templates/multi
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key=github.com/gobuffalo/buffalo/multi name=github.com/gobuffalo/buffalo/multi
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#found box="{"path":"../docker/templates/multi","name":"github.com/gobuffalo/buffalo/multi","resolution_dir":"../docker/templates/multi","default_resolver":null}"
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" forward-box=c0c964921797caa6d52bcd12ef38ede5 forward-path=ab8942bb19a00ddb54dfc22df4c36c21 path=Dockerfile.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key=c0c964921797caa6d52bcd12ef38ede5 name=c0c964921797caa6d52bcd12ef38ede5
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#found box="{"path":"","name":"c0c964921797caa6d52bcd12ef38ede5","resolution_dir":"/Users/freeman/Documents/workspaces/GolandProjects","default_resolver":{}}"
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 key=ab8942bb19a00ddb54dfc22df4c36c21
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 name=ab8942bb19a00ddb54dfc22df4c36c21
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 file=ab8942bb19a00ddb54dfc22df4c36c21 key=ab8942bb19a00ddb54dfc22df4c36c21
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" file="# This is a multi-stage Dockerfile and requires >= Docker 17.05\n# https://docs.docker.com/engine/userguide/eng-image/multistage-build/\nFROM gobuffalo/buffalo:{{.opts.Version}} as builder\n\nENV GO111MODULE on\nENV GOPROXY http://proxy.golang.org\n\nRUN mkdir -p /src/{{.opts.App.PackagePkg}}\nWORKDIR /src/{{.opts.App.PackagePkg}}\n\n{{if .opts.App.WithWebpack -}}\n# this will cache the npm install step, unless package.json changes\nADD package.json .\n{{if .opts.App.WithYarn -}}\nADD yarn.lock .\nRUN yarn install --no-progress\n{{else -}}\nRUN npm install --no-progress\n{{end -}}\n{{end -}}\n\n# Copy the Go Modules manifests\nCOPY go.mod go.mod\nCOPY go.sum go.sum\n# cache deps before building and copying source so that we don't need to re-download as much\n# and so that source changes don't invalidate our downloaded layer\nRUN go mod download\n\nADD . .\nRUN buffalo build --static -o /bin/app\n\nFROM alpine\nRUN apk add --no-cache bash\nRUN apk add --no-cache ca-certificates\n\nWORKDIR /bin/\n\nCOPY --from=builder /bin/app .\n\n# Uncomment to run the binary in "production" mode:\n# ENV GO_ENV=production\n\n# Bind the app to 0.0.0.0 so it can be seen from outside the container\nENV ADDR=0.0.0.0\n\nEXPOSE 3000\n\n# Uncomment to run the migrations before running the binary:\n# CMD /bin/app migrate; /bin/app\nCMD exec /bin/app\n" path=Dockerfile.tmpl
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#Walk osPath=Dockerfile.tmpl path=Dockerfile.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr#New name=github.com/gobuffalo/buffalo-pop/v2/genny/newapp/templates path=../newapp/templates
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key=github.com/gobuffalo/buffalo-pop/v2/genny/newapp/templates name=github.com/gobuffalo/buffalo-pop/v2/genny/newapp/templates
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#found box="{"path":"../newapp/templates","name":"github.com/gobuffalo/buffalo-pop/v2/genny/newapp/templates","resolution_dir":"../newapp/templates","default_resolver":null}"
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" forward-box=aa5079864222621c47b8b1835eadab86 forward-path=25797902602e6629df39f49ac17f37d6 path=models/models_test.go.plush
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key=aa5079864222621c47b8b1835eadab86 name=aa5079864222621c47b8b1835eadab86
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#found box="{"path":"","name":"aa5079864222621c47b8b1835eadab86","resolution_dir":"/Users/freeman/Documents/workspaces/GolandProjects","default_resolver":{}}"
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=aa5079864222621c47b8b1835eadab86 key=25797902602e6629df39f49ac17f37d6
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=aa5079864222621c47b8b1835eadab86 name=25797902602e6629df39f49ac17f37d6
DEBU[2021-04-26T11:39:03+08:00] resolver.HexGzip#Resolve box=aa5079864222621c47b8b1835eadab86 file=25797902602e6629df39f49ac17f37d6 key=25797902602e6629df39f49ac17f37d6
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" file="package models\n\nimport (\n\t"testing"\n\n\t"github.com/gobuffalo/packr/v2"\n\t"github.com/gobuffalo/suite"\n)\n\ntype ModelSuite struct {\n\tsuite.Model\n}\n\nfunc Test_ModelSuite(t *testing.T) {\n\tmodel, err := suite.NewModelWithFixtures(packr.New("app:models:test:fixtures","../fixtures"))\n\tif err != nil {\n\t\tt.Fatal(err)\n\t}\n\n\tas := &ModelSuite{\n\t\tModel: model,\n\t}\n\tsuite.Run(t, as)\n}\n" path=models/models_test.go.plush
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" forward-box=aa5079864222621c47b8b1835eadab86 forward-path=9972e34a517633d024117a3a4b66c4e5 path=grifts/db.go.plush
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key=aa5079864222621c47b8b1835eadab86 name=aa5079864222621c47b8b1835eadab86
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#found box="{"path":"","name":"aa5079864222621c47b8b1835eadab86","resolution_dir":"/Users/freeman/Documents/workspaces/GolandProjects","default_resolver":{}}"
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=aa5079864222621c47b8b1835eadab86 key=9972e34a517633d024117a3a4b66c4e5
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=aa5079864222621c47b8b1835eadab86 name=9972e34a517633d024117a3a4b66c4e5
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=aa5079864222621c47b8b1835eadab86 file=9972e34a517633d024117a3a4b66c4e5 key=9972e34a517633d024117a3a4b66c4e5
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" file="package grifts\n\nimport (\n\t"github.com/markbates/grift/grift"\n)\n\nvar _ = grift.Namespace("db", func() {\n\n\tgrift.Desc("seed", "Seeds a database")\n\tgrift.Add("seed", func(c *grift.Context) error {\n\t\t// Add DB seeding stuff here\n\t\treturn nil\n\t})\n\n})\n" path=grifts/db.go.plush
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" forward-box=aa5079864222621c47b8b1835eadab86 forward-path=0d4dd261a59e085078e02aa68e58a0d9 path=models/models.go.plush
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key=aa5079864222621c47b8b1835eadab86 name=aa5079864222621c47b8b1835eadab86
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#found box="{"path":"","name":"aa5079864222621c47b8b1835eadab86","resolution_dir":"/Users/freeman/Documents/workspaces/GolandProjects","default_resolver":{}}"
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=aa5079864222621c47b8b1835eadab86 key=0d4dd261a59e085078e02aa68e58a0d9
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=aa5079864222621c47b8b1835eadab86 name=0d4dd261a59e085078e02aa68e58a0d9
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=aa5079864222621c47b8b1835eadab86 file=0d4dd261a59e085078e02aa68e58a0d9 key=0d4dd261a59e085078e02aa68e58a0d9
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" file="package models\n\nimport (\n\t"log"\n\n\t"github.com/gobuffalo/envy"\n\t"github.com/gobuffalo/pop/v5"\n)\n\n// DB is a connection to your database to be used\n// throughout your application.\nvar DB *pop.Connection\n\nfunc init() {\n\tvar err error\n\tenv := envy.Get("GO_ENV", "development")\n\tDB, err = pop.Connect(env)\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\tpop.Debug = env == "development"\n}\n" path=models/models.go.plush
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#Walk osPath=grifts/db.go.plush path=grifts/db.go.plush
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#Walk osPath=models/models.go.plush path=models/models.go.plush
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#Walk osPath=models/models_test.go.plush path=models/models_test.go.plush
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#Open name=postgres.yml.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="pop:genny:config" key=postgres.yml.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="pop:genny:config" forward-box=a3cfa2fe33a85ca3941b341e0c87c233 forward-path=3abfce8456ed838a8a49ed01c478f6c3 path=postgres.yml.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key=a3cfa2fe33a85ca3941b341e0c87c233 name=a3cfa2fe33a85ca3941b341e0c87c233
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#found box="{"path":"","name":"a3cfa2fe33a85ca3941b341e0c87c233","resolution_dir":"/Users/freeman/Documents/workspaces/GolandProjects","default_resolver":{}}"
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=a3cfa2fe33a85ca3941b341e0c87c233 key=3abfce8456ed838a8a49ed01c478f6c3
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=a3cfa2fe33a85ca3941b341e0c87c233 name=3abfce8456ed838a8a49ed01c478f6c3
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=a3cfa2fe33a85ca3941b341e0c87c233 file=3abfce8456ed838a8a49ed01c478f6c3 key=3abfce8456ed838a8a49ed01c478f6c3
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="pop:genny:config" file="---\ndevelopment:\n dialect: postgres\n database: {{.opts.Prefix}}_development\n user: postgres\n password: postgres\n host: 127.0.0.1\n pool: 5\n\ntest:\n url: {{"{{"}}envOr "TEST_DATABASE_URL" "postgres://postgres:[email protected]:5432/{{.opts.Prefix}}_test?sslmode=disable"}}\n\nproduction:\n url: {{"{{"}}envOr "DATABASE_URL" "postgres://postgres:[email protected]:5432/{{.opts.Prefix}}production?sslmode=disable"}}\n" path=postgres.yml.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="pop:genny:config" file=postgres.yml.tmpl key=postgres.yml.tmpl
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#Open file=postgres.yml.tmpl name=postgres.yml.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr#New name="buffalo:genny:refresh" path=../refresh/templates
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key="buffalo:genny:refresh" name="buffalo:genny:refresh"
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#found box="{"path":"../refresh/templates","name":"buffalo:genny:refresh","resolution_dir":"../refresh/templates","default_resolver":null}"
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" forward-box=c0c964921797caa6d52bcd12ef38ede5 forward-path=c6660b1c6a1a45d1cb79e72c7bb65764 path=-dot-buffalo.dev.yml.plush
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key=c0c964921797caa6d52bcd12ef38ede5 name=c0c964921797caa6d52bcd12ef38ede5
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#found box="{"path":"","name":"c0c964921797caa6d52bcd12ef38ede5","resolution_dir":"/Users/freeman/Documents/workspaces/GolandProjects","default_resolver":{}}"
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 key=c6660b1c6a1a45d1cb79e72c7bb65764
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 name=c6660b1c6a1a45d1cb79e72c7bb65764
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 file=c6660b1c6a1a45d1cb79e72c7bb65764 key=c6660b1c6a1a45d1cb79e72c7bb65764
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" file="app_root: .\nignored_folders:\n- vendor\n- log\n- logs\n- assets\n- public\n- grifts\n- tmp\n- bin\n- node_modules\n- .sass-cache\nincluded_extensions:\n- .go\n- .env\nbuild_path: tmp\nbuild_delay: 200ns\nbinary_name: <%= app.Name %>-build\ncommand_flags: []\nenable_colors: true\nlog_name: buffalo\n" path=-dot-buffalo.dev.yml.plush
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#Walk osPath=-dot-buffalo.dev.yml.plush path=-dot-buffalo.dev.yml.plush
DEBU[2021-04-26T11:39:03+08:00] packr#New name="buffalo:genny:newapp:api" path=../api/templates
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key="buffalo:genny:newapp:api" name="buffalo:genny:newapp:api"
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#found box="{"path":"../api/templates","name":"buffalo:genny:newapp:api","resolution_dir":"../api/templates","default_resolver":null}"
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" forward-box=c0c964921797caa6d52bcd12ef38ede5 forward-path=a8ec67aa1e41fcbd2cdd86240d37c5e0 path=actions/app.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key=c0c964921797caa6d52bcd12ef38ede5 name=c0c964921797caa6d52bcd12ef38ede5
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#found box="{"path":"","name":"c0c964921797caa6d52bcd12ef38ede5","resolution_dir":"/Users/freeman/Documents/workspaces/GolandProjects","default_resolver":{}}"
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 key=a8ec67aa1e41fcbd2cdd86240d37c5e0
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 name=a8ec67aa1e41fcbd2cdd86240d37c5e0
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 file=a8ec67aa1e41fcbd2cdd86240d37c5e0 key=a8ec67aa1e41fcbd2cdd86240d37c5e0
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" file="package actions\n\nimport (\n "github.com/gobuffalo/envy"\n "github.com/gobuffalo/buffalo"\n forcessl "github.com/gobuffalo/mw-forcessl"\n paramlogger "github.com/gobuffalo/mw-paramlogger"\n "github.com/unrolled/secure"\n i18n "github.com/gobuffalo/mw-i18n"\n\n {{ if .opts.App.WithPop }}\n "{{.opts.App.ModelsPkg}}"\n "github.com/gobuffalo/buffalo-pop/v2/pop/popmw"\n {{ end -}}\n\n "github.com/rs/cors"\n "github.com/gobuffalo/x/sessions"\n contenttype "github.com/gobuffalo/mw-contenttype"\n)\n\n// ENV is used to help switch settings based on where the\n// application is being run. Default is "development".\nvar ENV = envy.Get("GO_ENV", "development")\nvar app *buffalo.App\nvar T *i18n.Translator\n\n// App is where all routes and middleware for buffalo\n// should be defined. This is the nerve center of your\n// application.\n//\n// Routing, middleware, groups, etc... are declared TOP -> DOWN.\n// This means if you add a middleware to app
after declaring a\n// group, that group will NOT have that new middleware. The same\n// is true of resource declarations as well.\n//\n// It also means that routes are checked in the order they are declared.\n// ServeFiles
is a CATCH-ALL route, so it should always be\n// placed last in the route declarations, as it will prevent routes\n// declared after it to never be called.\nfunc App() *buffalo.App {\n if app == nil {\n app = buffalo.New(buffalo.Options{\n Env: ENV,\n SessionStore: sessions.Null{},\n PreWares: []buffalo.PreWare{\n cors.Default().Handler,\n },\n SessionName: "{{.opts.App.Name.File}}_session",\n })\n\n // Automatically redirect to SSL\n app.Use(forceSSL())\n\n // Log request parameters (filters apply).\n app.Use(paramlogger.ParameterLogger)\n\n // Set the request content type to JSON\n app.Use(contenttype.Set("application/json"))\n\n {{ if .opts.App.WithPop }}\n // Wraps each request in a transaction.\n // c.Value("tx").(*pop.Connection)\n // Remove to disable this.\n app.Use(popmw.Transaction(models.DB))\n {{ end }}\n\n app.GET("/", HomeHandler)\n }\n\n return app\n}\n\n// translations will load locale files, set up the translator actions.T
,\n// and will return a middleware to use to load the correct locale for each\n// request.\n// for more information: https://gobuffalo.io/en/docs/localization\nfunc translations() buffalo.MiddlewareFunc {\n var err error\n if T, err = i18n.New(packr.New("app:locales", "../locales"), "en-US"); err != nil {\n app.Stop(err)\n }\n return T.Middleware()\n}\n\n// forceSSL will return a middleware that will redirect an incoming request\n// if it is not HTTPS. "http://example.com\" => "https://example.com\".\n// This middleware does not enable SSL. for your application. To do that\n// we recommend using a proxy: https://gobuffalo.io/en/docs/proxy\n// for more information: https://github.com/unrolled/secure/\nfunc forceSSL() buffalo.MiddlewareFunc {\n return forcessl.Middleware(secure.Options{\n SSLRedirect: ENV == "production",\n SSLProxyHeaders: map[string]string{"X-Forwarded-Proto": "https"},\n })\n}\n" path=actions/app.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" forward-box=c0c964921797caa6d52bcd12ef38ede5 forward-path=545676fd88c0d1d27198d283049c41b0 path=actions/home.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key=c0c964921797caa6d52bcd12ef38ede5 name=c0c964921797caa6d52bcd12ef38ede5
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#found box="{"path":"","name":"c0c964921797caa6d52bcd12ef38ede5","resolution_dir":"/Users/freeman/Documents/workspaces/GolandProjects","default_resolver":{}}"
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 key=545676fd88c0d1d27198d283049c41b0
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 name=545676fd88c0d1d27198d283049c41b0
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 file=545676fd88c0d1d27198d283049c41b0 key=545676fd88c0d1d27198d283049c41b0
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" file="package actions\n\nimport (\n "net/http"\n\n "github.com/gobuffalo/buffalo"\n)\n\n// HomeHandler is a default handler to serve up\n// a home page.\nfunc HomeHandler(c buffalo.Context) error {\n return c.Render(http.StatusOK, r.JSON(map[string]string{"message": "Welcome to Buffalo!"}))\n}\n" path=actions/home.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" forward-box=c0c964921797caa6d52bcd12ef38ede5 forward-path=ce01971710d9b9f11bba237baf76ec52 path=actions/home_test.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key=c0c964921797caa6d52bcd12ef38ede5 name=c0c964921797caa6d52bcd12ef38ede5
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#found box="{"path":"","name":"c0c964921797caa6d52bcd12ef38ede5","resolution_dir":"/Users/freeman/Documents/workspaces/GolandProjects","default_resolver":{}}"
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 key=ce01971710d9b9f11bba237baf76ec52
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 name=ce01971710d9b9f11bba237baf76ec52
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 file=ce01971710d9b9f11bba237baf76ec52 key=ce01971710d9b9f11bba237baf76ec52
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" file="package actions\n\nimport "net/http"\n\nfunc (as *ActionSuite) Test_HomeHandler() {\n\tres := as.JSON("/").Get()\n\n\tas.Equal(http.StatusOK, res.Code)\n\tas.Contains(res.Body.String(), "Welcome to Buffalo")\n}\n" path=actions/home_test.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" forward-box=c0c964921797caa6d52bcd12ef38ede5 forward-path=e8972ac6dc3e57b0c59883df456ad37c path=actions/render.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key=c0c964921797caa6d52bcd12ef38ede5 name=c0c964921797caa6d52bcd12ef38ede5
DEBU[2021-04-26T11:39:03+08:00] *packr.Box#found box="{"path":"","name":"c0c964921797caa6d52bcd12ef38ede5","resolution_dir":"/Users/freeman/Documents/workspaces/GolandProjects","default_resolver":{}}"
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 key=e8972ac6dc3e57b0c59883df456ad37c
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 name=e8972ac6dc3e57b0c59883df456ad37c
DEBU[2021-04-26T11:39:03+08:00] *resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 file=e8972ac6dc3e57b0c59883df456ad37c key=e8972ac6dc3e57b0c59883df456ad37c
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" file="package actions\n\nimport (\n "github.com/gobuffalo/buffalo/render"\n)\n\nvar r *render.Engine\n\nfunc init() {\n r = render.New(render.Options{\n DefaultContentType: "application/json",\n })\n}\n" path=actions/render.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" forward-box=c0c964921797caa6d52bcd12ef38ede5 forward-path=9897b71949d4e127aa00c50724ae4b5a path=locales/all.en-us.yaml.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key=c0c964921797caa6d52bcd12ef38ede5 name=c0c964921797caa6d52bcd12ef38ede5
DEBU[2021-04-26T11:39:03+08:00] packr.Box#found box="{"path":"","name":"c0c964921797caa6d52bcd12ef38ede5","resolution_dir":"/Users/freeman/Documents/workspaces/GolandProjects","default_resolver":{}}"
DEBU[2021-04-26T11:39:03+08:00] resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 key=9897b71949d4e127aa00c50724ae4b5a
DEBU[2021-04-26T11:39:03+08:00] resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 name=9897b71949d4e127aa00c50724ae4b5a
DEBU[2021-04-26T11:39:03+08:00] resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 file=9897b71949d4e127aa00c50724ae4b5a key=9897b71949d4e127aa00c50724ae4b5a
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="" file="# For more information on using i18n see: https://github.com/nicksnyder/go-i18n\n- id: welcome_greeting\n translation: "Welcome to Buffalo (EN)"\n" path=locales/all.en-us.yaml.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr.Box#Walk osPath=actions/app.go.tmpl path=actions/app.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr.Box#Walk osPath=actions/home.go.tmpl path=actions/home.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr.Box#Walk osPath=actions/home_test.go.tmpl path=actions/home_test.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr.Box#Walk osPath=actions/render.go.tmpl path=actions/render.go.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr.Box#Walk osPath=locales/all.en-us.yaml.tmpl path=locales/all.en-us.yaml.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr#New name="buffalo:genny:vcs" path=../vcs/templates
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key="buffalo:genny:vcs" name="buffalo:genny:vcs"
DEBU[2021-04-26T11:39:03+08:00] packr.Box#found box="{"path":"../vcs/templates","name":"buffalo:genny:vcs","resolution_dir":"../vcs/templates","default_resolver":null}"
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="buffalo:genny:vcs" key=ignore.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="buffalo:genny:vcs" forward-box=c0c964921797caa6d52bcd12ef38ede5 forward-path=3e00c27b916d08ee5aa54c8a3d2f31a5 path=ignore.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr#findBox key=c0c964921797caa6d52bcd12ef38ede5 name=c0c964921797caa6d52bcd12ef38ede5
DEBU[2021-04-26T11:39:03+08:00] packr.Box#found box="{"path":"","name":"c0c964921797caa6d52bcd12ef38ede5","resolution_dir":"/Users/freeman/Documents/workspaces/GolandProjects","default_resolver":{}}"
DEBU[2021-04-26T11:39:03+08:00] resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 key=3e00c27b916d08ee5aa54c8a3d2f31a5
DEBU[2021-04-26T11:39:03+08:00] resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 name=3e00c27b916d08ee5aa54c8a3d2f31a5
DEBU[2021-04-26T11:39:03+08:00] resolver.HexGzip#Resolve box=c0c964921797caa6d52bcd12ef38ede5 file=3e00c27b916d08ee5aa54c8a3d2f31a5 key=3e00c27b916d08ee5aa54c8a3d2f31a5
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="buffalo:genny:vcs" file="vendor/\n/.log\n/.sqlite\n.idea/\nbin/\ntmp/\nnode_modules/\n.sass-cache/\n-packr.go\npublic/assets/\n.vscode/\n.grifter/\n.env\n/.DS_Store\n.pid\ncoverage\ncoverage.data\n.svn\n.console_history\n.sass-cache/\n.jhw-cache/\njhw.\n.sublime\ndist/\ngenerated/\n.vendor/\n\n" path=ignore.tmpl
DEBU[2021-04-26T11:39:03+08:00] packr.Pointer#Resolve box="buffalo:genny:vcs" file=ignore.tmpl key=ignore.tmpl
DEBU[2021-04-26T11:39:03+08:00] Step: dc997bcd
DEBU[2021-04-26T11:39:03+08:00] Chdir: /Users/freeman/Documents/workspaces/GolandProjects/coke
DEBU[2021-04-26T11:39:03+08:00] Exec: go mod init ../coke
go: malformed import path "../coke": invalid path element ".."
Usage:
buffalo new [name] [flags]
Flags:
--api skip all front-end code and configure for an API server
--ci-provider string specify the type of ci file you would like buffalo to generate [none, travis, gitlab-ci, circleci] (default "none")
--config string config file (default is $HOME/.buffalo.yaml)
--db-type string specify the type of database you want to use [cockroach, mariadb, mysql, postgres] (default "postgres")
--docker string specify the type of Docker file to generate [none, multi, standard] (default "multi")
-d, --dry-run dry run
-f, --force delete and remake if the app already exists
-h, --help help for new
--module string specify the root module (package) name. [defaults to 'automatic']
--skip-config skips using the config file
--skip-pop skips adding pop/soda to your app
--skip-webpack skips adding Webpack to your app
--skip-yarn use npm instead of yarn for frontend dependencies management
--vcs string specify the Version control system you would like to use [none, git, bzr] (default "git")
-v, --verbose verbosely print out the go get commands
ERRO[0000] Error: exit status 1
This is the buffalo info below:
buffalo info
-> Go: Checking installation
✓ The go
executable was found on your system at: /usr/local/bin/go
-> Go: Checking minimum version requirements
✓ Your version of Go, 1.15, meets the minimum requirements.
-> Go: Checking Package Management
✓ You are using Go Modules (go
) for package management.
-> Go: Checking PATH
✘ Your PATH (/Users/freeman/.tiup/bin:/Users/freeman/Documents/workspaces/GolandProjects/bin:/Users/freeman/bin:/usr/local/bin:/Users/freeman/.composer/vendor/bin:/Users/freeman/.tiup/bin:/Users/freeman/Documents/workspaces/GolandProjects/bin:/Users/freeman/bin:/usr/local/bin:/Users/freeman/.composer/vendor/bin:/Users/freeman/.tiup/bin:/Users/freeman/bin:/usr/local/bin:/Users/freeman/.composer/vendor/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin) does not contain /Users/freeman/Documents/workspaces/GolandProjects/bin.
Without /Users/freeman/Documents/workspaces/GolandProjects/bin in your PATH
any Go executables can not be run globally.
For help setting up your Go environment please follow the instructions for you platform at:
https://www.gopherguides.com/courses/preparing-your-environment-for-go-development
-> Node: Checking installation
✘ The node
executable could not be found on your system.
For help setting up your Node environment please follow the instructions for you platform at:
https://nodejs.org/en/download/
-> NPM: Checking installation
✘ The npm
executable could not be found on your system.
For help setting up your NPM environment please follow the instructions for you platform at:
https://docs.npmjs.com/getting-started/configuring-your-local-environment
-> Yarn: Checking installation
✘ The yarnpkg
executable could not be found on your system.
For help setting up your Yarn environment please follow the instructions for you platform at:
https://yarnpkg.com/en/docs/install
-> PostgreSQL: Checking installation
✓ The postgres
executable was found on your system at: /usr/local/bin/postgres
-> PostgreSQL: Checking minimum version requirements
✓ Your version of PostgreSQL, 12.4.0, meets the minimum requirements.
-> MySQL: Checking installation
✓ The mysql
executable was found on your system at: /usr/local/bin/mysql
-> MySQL: Checking minimum version requirements
✓ Your version of MySQL, 8.0.21, meets the minimum requirements.
-> SQLite3: Checking installation
✓ The sqlite3
executable was found on your system at: /usr/bin/sqlite3
-> SQLite3: Checking minimum version requirements
✓ Your version of SQLite3, 3.32.3, meets the minimum requirements.
-> Cockroach: Checking installation
✘ The cockroach
executable could not be found on your system.
For help setting up your Cockroach environment please follow the instructions for you platform at:
https://www.cockroachlabs.com/docs/stable/
-> Buffalo (CLI): Checking installation
✓ The buffalo
executable was found on your system at: /Users/freeman/Documents/workspaces/GolandProjects/bin/buffalo
-> Buffalo (CLI): Checking minimum version requirements
✓ Your version of Buffalo (CLI), v0.16.22, meets the minimum requirements.
-> Buffalo: Application Details
Pwd /Users/freeman/Documents/workspaces/GolandProjects/coke
Root /Users/freeman/Documents/workspaces/GolandProjects/coke
GoPath /Users/freeman/Documents/workspaces/GolandProjects
PackagePkg ../coke
ActionsPkg ../coke/actions
ModelsPkg ../coke/models
GriftsPkg ../coke/grifts
WithModules true
Name coke
Bin bin/coke
VCS
WithPop false
WithSQLite false
WithDep false
WithWebpack false
WithNodeJs false
WithYarn false
WithDocker false
WithGrifts false
AsWeb true
AsAPI false
InApp false
PackageJSON {map[]}
It seems error occurred in step when "go mod init" with a wrong directory.