Skip to content

Commit 93a2db4

Browse files
authored
Merge pull request #480 from TarsCloud/refacter/tars2go
refactor tars2go
2 parents d0696c7 + 4126b5b commit 93a2db4

File tree

29 files changed

+1447
-1407
lines changed

29 files changed

+1447
-1407
lines changed

tars/protocol/res/Makefile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,2 @@
1-
OS=$(shell uname -s)
21
all:
3-
tars2go -without-trace=true -add-servant=false -tarsPath github.com/TarsCloud/TarsGo/tars *.tars
4-
ifeq ($(OS),Darwin)
5-
sed -i '' 's|"endpointf"|"github.com/TarsCloud/TarsGo/tars/protocol/res/endpointf"|g' queryf/QueryF.tars.go
6-
else
7-
sed -i 's|"endpointf"|"github.com/TarsCloud/TarsGo/tars/protocol/res/endpointf"|g' queryf/QueryF.tars.go
8-
endif
9-
#override file
2+
tars2go -without-trace=true -add-servant=false -tarsPath github.com/TarsCloud/TarsGo/tars -module github.com/TarsCloud/TarsGo/tars/protocol/res *.tars

tars/protocol/res/adminf/AdminF.tars.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Package adminf comment
2-
// This file was generated by tars2go 1.2.1
2+
// This file was generated by tars2go 1.2.2
33
// Generated from AdminF.tars
44
package adminf
55

tars/protocol/res/basef/BaseF.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Package basef comment
2-
// This file was generated by tars2go 1.2.1
2+
// This file was generated by tars2go 1.2.2
33
// Generated from BaseF.tars
44
package basef
55

tars/protocol/res/configf/Config.tars.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Package configf comment
2-
// This file was generated by tars2go 1.2.1
2+
// This file was generated by tars2go 1.2.2
33
// Generated from ConfigF.tars
44
package configf
55

tars/protocol/res/configf/ConfigF.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Package configf comment
2-
// This file was generated by tars2go 1.2.1
2+
// This file was generated by tars2go 1.2.2
33
// Generated from ConfigF.tars
44
package configf
55

tars/protocol/res/endpointf/EndpointF.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Package endpointf comment
2-
// This file was generated by tars2go 1.2.1
2+
// This file was generated by tars2go 1.2.2
33
// Generated from EndpointF.tars
44
package endpointf
55

tars/protocol/res/logf/Log.tars.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Package logf comment
2-
// This file was generated by tars2go 1.2.1
2+
// This file was generated by tars2go 1.2.2
33
// Generated from LogF.tars
44
package logf
55

tars/protocol/res/logf/LogF.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Package logf comment
2-
// This file was generated by tars2go 1.2.1
2+
// This file was generated by tars2go 1.2.2
33
// Generated from LogF.tars
44
package logf
55

tars/protocol/res/nodef/NodeF.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Package nodef comment
2-
// This file was generated by tars2go 1.2.1
2+
// This file was generated by tars2go 1.2.2
33
// Generated from NodeF.tars
44
package nodef
55

tars/protocol/res/nodef/ServerF.tars.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Package nodef comment
2-
// This file was generated by tars2go 1.2.1
2+
// This file was generated by tars2go 1.2.2
33
// Generated from NodeF.tars
44
package nodef
55

0 commit comments

Comments
 (0)