Initial commit
This commit is contained in:
commit
8601031005
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.DS_Store
|
||||
21
README.md
Normal file
21
README.md
Normal file
@ -0,0 +1,21 @@
|
||||
# ChatAppCommon
|
||||
|
||||
Shared Go module for ChatApp services.
|
||||
|
||||
Module path:
|
||||
|
||||
`43.132.178.96/hy/ChatAppCommon.git`
|
||||
|
||||
Install:
|
||||
|
||||
```bash
|
||||
go env -w GOPRIVATE=43.132.178.96
|
||||
git config --global url."git@43.132.178.96:".insteadOf "https://43.132.178.96/"
|
||||
go get 43.132.178.96/hy/ChatAppCommon.git@v0.1.0
|
||||
```
|
||||
|
||||
Import:
|
||||
|
||||
```go
|
||||
import common "43.132.178.96/hy/ChatAppCommon.git"
|
||||
```
|
||||
4
common.go
Normal file
4
common.go
Normal file
@ -0,0 +1,4 @@
|
||||
// Package common provides shared code for ChatApp services.
|
||||
package common
|
||||
|
||||
const Version = "v0.1.0"
|
||||
0
proto/test.proto
Normal file
0
proto/test.proto
Normal file
Loading…
x
Reference in New Issue
Block a user