Initial commit

This commit is contained in:
ZuoZuo 2026-04-04 01:33:51 +08:00
commit 8601031005
5 changed files with 29 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.DS_Store

21
README.md Normal file
View 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
View File

@ -0,0 +1,4 @@
// Package common provides shared code for ChatApp services.
package common
const Version = "v0.1.0"

3
go.mod Normal file
View File

@ -0,0 +1,3 @@
module 43.132.178.96/hy/ChatAppCommon.git
go 1.23.1

0
proto/test.proto Normal file
View File