无用文件清除
This commit is contained in:
parent
bff14dcc82
commit
1310a49824
|
|
@ -26,6 +26,9 @@ func Post(endpoint string, postBody string, authorization string) string {
|
|||
url := baseURL + endpoint
|
||||
var jsonStr = []byte(postBody)
|
||||
req, err := http.NewRequest("POST", url, bytes.NewBuffer(jsonStr))
|
||||
if err != nil {
|
||||
return err.Error()
|
||||
}
|
||||
req.Header.Set("Authorization", "Bearer "+authorization)
|
||||
req.Header.Set("Content-Type", "application/json")
|
||||
client := &http.Client{}
|
||||
|
|
|
|||
|
|
@ -1,6 +0,0 @@
|
|||
package exceptionless
|
||||
|
||||
func createLog(source string, message string, level string, geo string, referenceID string, date string, value uint) {
|
||||
// event := BuildEvent("log", message, source, nil, nil, nil, nil, nil, nil)
|
||||
// fmt.Println(event)
|
||||
}
|
||||
Loading…
Reference in New Issue