Skip to content

Commit a494dc5

Browse files
committed
update go test
1 parent ea38acf commit a494dc5

File tree

5 files changed

+4
-122
lines changed

5 files changed

+4
-122
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ gogs is a simple, fast and lightweight game server framework written in golang.
4444
### Init your project
4545
install the gogs
4646
```
47-
go install github.com/metagogs/gogs/tools/[email protected].3
47+
go install github.com/metagogs/gogs/tools/[email protected].4
4848
```
4949
init project
5050
```

tools/gogs/gen/gentemplate/ep.go.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func _{{.ComponentName}}Component_{{.Name}}_Handler(srv interface{}, ctx context
4040
{{range .Components}}
4141
var _{{.Name}}ComponentDesc = component.ComponentDesc{
4242
ComponentName: "{{.Name}}Component",
43-
ComponentIndex: {{.Index}}, // to module index
43+
ComponentIndex: {{.Index}}, // equal to module index
4444
ComponentType: (*Component)(nil),
4545
Methods: []component.ComponentMethodDesc{
4646
{{range .Fields}}{

tools/gogs/gen/testdata/model/data.ep.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

utils/gomod/gomod_test.go

Lines changed: 0 additions & 118 deletions
This file was deleted.

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.2.3
1+
v0.2.4

0 commit comments

Comments
 (0)