flag를 flagx로 교체

This commit is contained in:
2023-06-21 14:35:27 +09:00
parent 61a98247d8
commit bdc3e19718
4 changed files with 31 additions and 28 deletions

View File

@ -1,24 +1,16 @@
package main
import (
"fmt"
"path"
"testing"
"time"
"repositories.action2quare.com/ayo/houston/client"
)
func TestOperationServer(t *testing.T) {
hc, err := client.NewClient()
if err != nil {
t.Error(err)
return
}
for i := 0; ; i++ {
hc.SetReportMetrics(map[string]float32{
"count": float32(i),
})
time.Sleep(1300 * time.Millisecond)
}
fmt.Println(path.Join("a", "b", "/"))
fmt.Println(path.Join("a", "b/"))
fmt.Println(path.Join("a", "b/", "/"))
fmt.Println(path.Join("a", "b/", "/", "/"))
// token, _ := getMicrosoftAuthoizationToken("30330e18-f407-4e35-a6d6-b734b9fe9ee9", "VTr8Q~VBAUAOSmFiHM~bjgszYXBm9nuGBQCk8cLq")
//go func() {