Skip to content

Commit d12b845

Browse files
authored
upgrade decimal (#92)
* synchronous tidb decimal.go * add NewDecFromString and NewDecFromFloat * upgrade go version from 1.13 to 1.16
1 parent 5833222 commit d12b845

7 files changed

Lines changed: 703 additions & 439 deletions

File tree

.github/workflows/github-actions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
os:
2020
- ubuntu-latest
2121
go_version:
22-
- 1.15
22+
- 1.16
2323
env:
2424
DING_TOKEN: ${{ secrets.DING_TOKEN }}
2525
DING_SIGN: ${{ secrets.DING_SIGN }}

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@ issues:
5353
# golangci.com configuration
5454
# https://github.com/golangci/golangci/wiki/Configuration
5555
service:
56-
golangci-lint-version: 1.15.x # use the fixed version to not introduce new linters unexpectedly
56+
golangci-lint-version: 1.16.x # use the fixed version to not introduce new linters unexpectedly
5757
prepare:
5858
- echo "here I can run custom commands, but no preparation needed for this repo"

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: go
22

33
go:
4-
- "1.15.x"
4+
- "1.16.x"
55

66
script:
77
- go fmt ./... && [[ -z `git status -s` ]]

go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
module github.com/dubbogo/gost
22

3+
go 1.16
4+
35
require (
46
github.com/buger/jsonparser v1.1.1
57
github.com/davecgh/go-spew v1.1.1
@@ -30,4 +32,3 @@ require (
3032
gopkg.in/yaml.v2 v2.4.0 // indirect
3133
)
3234

33-
go 1.13

0 commit comments

Comments
 (0)