1
0
mirror of https://github.com/robertkrimen/otto synced 2025-10-12 20:27:30 +08:00
Commit Graph

6 Commits

Author SHA1 Message Date
Steven Hartland
7de4257c77
fix: number locale support (#472)
Add support for Number.toLocaleString() which was previously just using
toString.

Default locale is: en-US

Fixes #285
2022-11-29 12:57:48 +00:00
andig
3cf1fcc1d8
chore: update to go 1.18 (#458)
Upgrade go.mod to a supported version.
2022-11-27 20:09:40 +00:00
Erik Nordmark
511d75fba9
chore: update logex (#442)
Update github.com/chzyer/logex to v1.2.1 which has an explicit
LICENSE file to prevent package without alarming compliance
tools.

Signed-off-by: eriknordmark <erik@zededa.com>
2022-10-25 14:53:07 +01:00
Steven Hartland
7009038f79
fix: linting errors (#441)
Disable new linters which aren't compatible with this code module.

Upgrade github actions to fix caching issues.

Run go mod to bring in new styling.

Remove space on nolint declarations.

Apply all changes to whitespace as required to pass goimports linter.

Only trigger checks on pull_request which works for pulls from other
forks, where as push only works from the same repo.
2022-10-08 00:12:19 +01:00
Steven Hartland
8d2eaa7768
test: add test for issue #186 (#419)
Add a test which exercises issue #186

Also:
* Quote types in "can't convert from %q to %q" errors.
2021-09-27 21:35:16 +01:00
ilyapashuk
08d7b51940
feat: add go.mod support (#376)
Add support for go mod
2021-09-27 11:13:58 +01:00