Utililize go i2p logger (#1)

- Drop log.go in favor of using go-i2p/logger
- Fix an occurrence of ioutil deprecation. Bump go version to a recent one
This commit is contained in:
Call me Phil
2025-03-30 23:14:21 +00:00
committed by GitHub
parent daeaa91183
commit 3f93dec9db
7 changed files with 15 additions and 62 deletions

View File

@ -6,7 +6,7 @@ package onramp
import (
"crypto/tls"
"fmt"
"io/ioutil"
"io"
"net"
"net/http"
"testing"
@ -52,7 +52,7 @@ func TestBareGarlic(t *testing.T) {
}
defer resp.Body.Close()
fmt.Println(resp.Status)
body, err := ioutil.ReadAll(resp.Body)
body, err := io.ReadAll(resp.Body)
if err != nil {
t.Error(err)
}