From d22fc16c2e704af1c454db6be8a17e8e3f7167e5 Mon Sep 17 00:00:00 2001 From: studiokaiji Date: Tue, 10 Oct 2023 14:57:24 +0900 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E8=A6=81=E3=81=AAfmt.Println=E3=82=92?= =?UTF-8?q?=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hostr/cmd/server/server.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hostr/cmd/server/server.go b/hostr/cmd/server/server.go index bf6c69b..8ede8f5 100644 --- a/hostr/cmd/server/server.go +++ b/hostr/cmd/server/server.go @@ -3,7 +3,6 @@ package server import ( "context" "encoding/base64" - "fmt" "net/http" "github.com/gin-gonic/gin" @@ -100,8 +99,6 @@ func Start(port string) { // Replaceable Event (NIP-33) r.GET("/p/:pubKey/d/*dTag", func(ctx *gin.Context) { - fmt.Println("hi") - // pubKeyを取得しFilterに追加 pubKey := ctx.Param("pubKey") // npubから始まる場合はデコードする @@ -122,8 +119,6 @@ func Start(port string) { tags := nostr.TagMap{} tags["d"] = []string{dTag} - fmt.Println(dTag) - // Poolからデータを取得する ev := pool.QuerySingle(ctx, allRelays, nostr.Filter{ Kinds: []int{