-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from sixiaobai/master
依赖组件升级&大小写调整&demo演示支持
- Loading branch information
Showing
15 changed files
with
134 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ package serviceImpl | |
import ( | ||
"context" | ||
"fmt" | ||
|
||
"odin/proto" | ||
) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package proto | ||
|
||
type RedisSetRequest struct { | ||
} | ||
type RedisSetResponse struct { | ||
Reply []interface{} | ||
} | ||
|
||
type RedisGetRequest struct { | ||
} | ||
type RedisGetResponse struct { | ||
Reply []interface{} | ||
} | ||
|
||
type MysqlInsertRequest struct { | ||
} | ||
type MysqlInsertResponse struct { | ||
Reply []interface{} | ||
} | ||
|
||
type MysqlSelectRequest struct { | ||
} | ||
type MysqlSelectResponse struct { | ||
Reply []interface{} | ||
} | ||
|
||
type MysqlDeleteRequest struct { | ||
} | ||
type MysqlDeleteResponse struct { | ||
Reply []interface{} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
package proto | ||
|
||
type SayHelloRequest struct { | ||
Greeting string | ||
} | ||
|
||
type SayHelloResponse struct { | ||
Reply string | ||
} | ||
|
||
type UserInfoRequest struct { | ||
Id int | ||
} | ||
|
||
type UserInfoResponse struct { | ||
Name string | ||
Age int | ||
City string | ||
} | ||
|
||
type AddUserRequest struct { | ||
Name string | ||
Age int | ||
City string | ||
} | ||
|
||
type AddUserResponse struct { | ||
Id int | ||
} | ||
|
||
type UpdateUserRequest struct { | ||
Id int | ||
Name string | ||
Age int | ||
City string | ||
} | ||
|
||
type UpdateUserResponse struct { | ||
} |
Oops, something went wrong.