working commit
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
package auxtool
|
||||
|
||||
import (
|
||||
"time"
|
||||
"time"
|
||||
)
|
||||
|
||||
func TimeNow() string {
|
||||
return time.Now().Format(time.RFC3339)
|
||||
return time.Now().Format(time.RFC3339)
|
||||
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,11 +1,11 @@
|
||||
package auxuuid
|
||||
|
||||
import (
|
||||
"github.com/google/uuid"
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
const ZeroUUID = "00000000-0000-0000-0000-000000000000"
|
||||
|
||||
func NewUUID() string {
|
||||
return uuid.New().String()
|
||||
return uuid.New().String()
|
||||
}
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
package client
|
||||
|
||||
|
||||
type Client struct {
|
||||
}
|
||||
|
||||
func (cli *Client) FileExists(path string) (bool, error) {
|
||||
//reqPath = fmt.Sprintf("/v3/api/file/%s", path)
|
||||
//request, err := http.NewRequest("HEAD", reqPath, nil)
|
||||
//reqPath = fmt.Sprintf("/v3/api/file/%s", path)
|
||||
//request, err := http.NewRequest("HEAD", reqPath, nil)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user