今天看到一段代码,不太明白,百度也没找到答案,所以只能来请教各位了:
代码如下:
```go
import (
"fmt"
"net/http"
"github.com/gin-gonic/gin"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
api "github.com/appleboy/gin-status-api.v1"
)
```
最后一行的api "github.com/appleboy/gin-status-api.v1",,,前面的api是什么意思呢?
谢谢!
有疑问加站长微信联系(非本文作者)