Skip to content

Commit

Permalink
feat: 导出模块
Browse files Browse the repository at this point in the history
  • Loading branch information
ultrazg committed Aug 3, 2024
1 parent 14673ba commit b2bcf61
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,31 @@ $ go run . -d


## 作为模块

```shell
go get github.com/ultrazg/xyz
```

```go
package main

import (
"fmt"
"github.com/ultrazg/xyz/service"
)

func main() {
err := service.Start()
if err != nil {
fmt.Println("fail")
}
}
```




## 构建

项目内提供对应平台的 `build.sh` 文件,按需执行即可
Expand Down
2 changes: 1 addition & 1 deletion constant/version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package constant

var Version = "1.5.1"
var Version = "1.5.2"
2 changes: 1 addition & 1 deletion doc/docs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## 小宇宙FM API

> *主程序版本:v1.5.1*
> *主程序版本:v1.5.2*
>
> *文档版本:v1.5.1*
>
Expand Down

0 comments on commit b2bcf61

Please sign in to comment.