An open API service indexing awesome lists of open source software.

https://github.com/chyroc/go-module-example


https://github.com/chyroc/go-module-example

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

# go module 使用示例

### 多版本

```go
package main

import (
"fmt"
packageV1 "github.com/chyroc/go-module-example"
packageV2 "github.com/chyroc/go-module-example/v2"
)

func main() {
fmt.Println(packageV1.FuncA())
fmt.Println(packageV2.FuncB())
}
```