Lowercase module path

This commit is contained in:
ZuoZuo 2026-04-04 15:05:29 +08:00
parent e021b01d89
commit 0971558d5b
2 changed files with 5 additions and 5 deletions

View File

@ -1,21 +1,21 @@
# ChatAppCommon
# chatappcommon
Shared Go module for ChatApp services.
Module path:
`gitea.haiyihy.com/hy/ChatAppCommon`
`gitea.haiyihy.com/hy/chatappcommon`
Install:
```bash
go env -w GOPRIVATE=gitea.haiyihy.com
git config --global url."ssh://git@gitea.haiyihy.com/".insteadOf "https://gitea.haiyihy.com/"
go get gitea.haiyihy.com/hy/ChatAppCommon@v0.1.0
go get gitea.haiyihy.com/hy/chatappcommon@v0.1.0
```
Import:
```go
import common "gitea.haiyihy.com/hy/ChatAppCommon"
import common "gitea.haiyihy.com/hy/chatappcommon"
```

2
go.mod
View File

@ -1,3 +1,3 @@
module gitea.haiyihy.com/hy/ChatAppCommon
module gitea.haiyihy.com/hy/chatappcommon
go 1.23.1