File tree 5 files changed +41
-36
lines changed
5 files changed +41
-36
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Go
2
+
3
+ on :
4
+ push :
5
+ branches : [ "main" ]
6
+ pull_request :
7
+ branches : [ "main" ]
8
+
9
+ jobs :
10
+
11
+ test :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v3
15
+
16
+ - name : Set up Go
17
+ uses : actions/setup-go@v3
18
+ with :
19
+ go-version : 1.19
20
+
21
+ - name : Lint
22
+ run : |
23
+ go vet -all .
24
+ go install github.com/mgechev/revive@latest
25
+ revive -config .revive.toml -exclude=./vendor/... ./...
26
+
27
+ - name : Test
28
+ run : go test -v ./...
Original file line number Diff line number Diff line change 1
1
module github.com/lafriks/go-tiled
2
2
3
- go 1.16
3
+ go 1.19
4
4
5
5
require (
6
6
github.com/disintegration/imaging v1.6.2
7
- github.com/stretchr/testify v1.8.1
7
+ github.com/stretchr/testify v1.8.2
8
+ )
9
+
10
+ require (
11
+ github.com/davecgh/go-spew v1.1.1 // indirect
12
+ github.com/pmezard/go-difflib v1.0.0 // indirect
13
+ golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8 // indirect
14
+ gopkg.in/yaml.v3 v3.0.1 // indirect
8
15
)
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSS
10
10
github.com/stretchr/objx v0.5.0 /go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo =
11
11
github.com/stretchr/testify v1.7.1 /go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg =
12
12
github.com/stretchr/testify v1.8.0 /go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU =
13
- github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk =
14
- github.com/stretchr/testify v1.8.1 /go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4 =
13
+ github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8 =
14
+ github.com/stretchr/testify v1.8.2 /go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4 =
15
15
golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8 h1:hVwzHzIUGRjiF7EcUjqNxk3NCfkPxbDKRdnNE1Rpg0U =
16
16
golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8 /go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0 =
17
17
golang.org/x/text v0.3.0 /go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ =
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ const (
39
39
// ErrInvalidTileGID error is returned when tile GID is not found
40
40
var ErrInvalidTileGID = errors .New ("tiled: invalid tile GID" )
41
41
42
- // Axis
42
+ // Axis type
43
43
type Axis string
44
44
45
45
const (
@@ -49,7 +49,7 @@ const (
49
49
AxisY Axis = "y"
50
50
)
51
51
52
- // StaggerAxis is stagger axis index type
52
+ // StaggerIndexType is stagger axis index type
53
53
type StaggerIndexType string
54
54
55
55
const (
You can’t perform that action at this time.
0 commit comments