gobuffalo / buffalo

Rapid Web Development w/ Go
http://gobuffalo.io
MIT License
8.08k stars 577 forks source link

Helpers for upcase/downcase removed? #1654

Closed hdm closed 5 years ago

hdm commented 5 years ago

Description

The upcase and downcase helpers appear to have been removed sometime recently. This doesn't appear to be documented (https://gobuffalo.io/en/docs/helpers). Should the documentation be updated or the helpers re-added?

Steps to Reproduce the Problem

Use the <%= upcase("hello") %> snippet in a template.

Expected Behavior

Uppercase text

Actual Behavior

Missing identifier error

Info

``` -> Go: Checking installation ✓ The `go` executable was found on your system at: C:\Go\bin\go.exe -> Go: Checking minimum version requirements ✓ Your version of Go, 1.12.3, meets the minimum requirements. -> Go: Checking GOPATH ✘ You do not appear to be operating inside of your GOPATH. Things to check: * Capitalization - make sure that your capitalization of C:\Users\user\go matches that of C:\Users\user\go\project-console * `src` - make sure that you are working under C:\Users\user\go/src GOPATH: C:\Users\user\go PWD: C:\Users\user\go\project-console Build Sources: C:\Go\src, C:\Users\user\go\src 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 -> Go: Checking Package Management ⚠ You do not appear to be using a package management system. It is strongly suggested that you use one of the following package management systems: * Go Modules (Recommended) - https://gobuffalo.io/en/docs/gomods * Dep - https://github.com/golang/dep 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 -> Go: Checking PATH ✘ Your PATH (PATH NOT FOUND) does not contain C:\Users\user\go/bin. Without C:\Users\user\go/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 was found on your system at: C:\Program Files\nodejs\node.exe -> Node: Checking minimum version requirements ✓ Your version of Node, v10.15.0, meets the minimum requirements. -> NPM: Checking installation ✓ The `npm` executable was found on your system at: C:\Program Files\nodejs\npm.cmd -> NPM: Checking minimum version requirements ✓ Your version of NPM, 6.4.1, meets the minimum requirements. -> Yarn: Checking installation ✓ The `yarnpkg` executable was found on your system at: C:\Program Files (x86)\Yarn\bin\yarnpkg.cmd -> Yarn: Checking minimum version requirements ✓ Your version of Yarn, 1.15.2, meets the minimum requirements. -> PostgreSQL: Checking installation ✘ The `postgres` executable could not be found on your system. For help setting up your Postgres environment please follow the instructions for you platform at: https://www.postgresql.org/download/ -> MySQL: Checking installation ✘ The `mysql` executable could not be found on your system. For help setting up your MySQL environment please follow the instructions for you platform at: https://www.mysql.com/downloads/ -> SQLite3: Checking installation ✓ The `sqlite3` executable was found on your system at: C:\mingw\x64\bin\sqlite3.exe -> SQLite3: Checking minimum version requirements ✓ Your version of SQLite3, 3.7.17, 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: Checking installation ✓ The `buffalo` executable was found on your system at: c:\Users\user\go\bin\buffalo.exe -> Buffalo: Checking minimum version requirements ✓ Your version of Buffalo, v0.14.3, meets the minimum requirements. -> Buffalo: Application Details Pwd C:\Users\user\go\project-console Root C:\Users\user\go\project-console GoPath C:\Users\user\go PackagePkg ../project-console ActionsPkg ../project-console/actions ModelsPkg ../project-console/models GriftsPkg ../project-console/grifts WithModules false Name project-console Bin bin\project-console.exe VCS git WithPop true WithSQLite false WithDep false WithWebpack true WithNodeJs true WithYarn true WithDocker false WithGrifts true AsWeb true AsAPI false InApp true PackageJSON {map[]} -> Buffalo: go.mod module github.com/hdm/project-console go 1.12 require ( github.com/gobuffalo/buffalo v0.14.3 github.com/gobuffalo/buffalo-pop v1.10.0 github.com/gobuffalo/envy v1.7.0 github.com/gobuffalo/helpers v0.0.0-20190422082217-384f90c6579f // indirect github.com/gobuffalo/logger v0.0.0-20190315122211-86e12af44bc2 github.com/gobuffalo/mw-csrf v0.0.0-20190129204204-25460a055517 github.com/gobuffalo/mw-forcessl v0.0.0-20190224202501-6d1ef7ffb276 github.com/gobuffalo/mw-i18n v0.0.0-20190224203426-337de00e4c33 github.com/gobuffalo/mw-paramlogger v0.0.0-20190224201358-0d45762ab655 github.com/gobuffalo/nulls v0.0.0-20190305142546-85f3c9250d87 github.com/gobuffalo/packr/v2 v2.2.0 github.com/gobuffalo/plush v3.8.0+incompatible github.com/gobuffalo/pop v4.10.0+incompatible github.com/gobuffalo/suite v2.6.2+incompatible github.com/gobuffalo/tags v2.1.0+incompatible github.com/gobuffalo/uuid v2.0.5+incompatible github.com/gobuffalo/validate v2.0.3+incompatible github.com/gobuffalo/x v0.0.0-20190224155809-6bb134105960 github.com/gofrs/uuid v3.2.0+incompatible github.com/gorilla/sessions v1.1.3 github.com/hdm/project v0.5.22 github.com/markbates/grift v1.0.5 github.com/pkg/errors v0.8.1 github.com/sendgrid/rest v2.4.1+incompatible // indirect github.com/sendgrid/sendgrid-go v3.4.1+incompatible github.com/sirupsen/logrus v1.4.1 github.com/stanislas-m/mocksmtp v1.0.0 github.com/unrolled/secure v1.0.0 golang.org/x/crypto v0.0.0-20190424203555-c05e17bb3b2d ) ```
hdm commented 5 years ago

@markbates Could you comment on the status of this?

markbates commented 5 years ago

If was fixed in the helpers package hours after you opened the issue.

hdm commented 5 years ago

ah, thank you!