+10
-8
handler/main.go
+10
-8
handler/main.go
······c.Println("\nSending one quick heartbeat to make sure everything is ship shape and then you should be good to go!")-Dependencies: []string{"bytes", "encoding/base64", "encoding/json", "net/http", "runtime", "time"},
+5
-1
wakatime/main.go
+5
-1
wakatime/main.go
······-req, err := http.NewRequest("POST", c.APIURL+"/users/current/heartbeats", bytes.NewBuffer(data))+req, err := http.NewRequest("GET", fmt.Sprintf("%s/users/current/statusbar/today", c.APIURL), bytes.NewBuffer(data))