mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-20 20:52:33 +02:00
12 lines
225 B
Go
12 lines
225 B
Go
package v1
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
. "github.com/yusing/go-proxy/internal/api/v1/utils"
|
|
"github.com/yusing/go-proxy/pkg"
|
|
)
|
|
|
|
func GetVersion(w http.ResponseWriter, r *http.Request) {
|
|
WriteBody(w, []byte(pkg.GetVersion()))
|
|
}
|