Skip to content

Commit

Permalink
不要なfmt.Printlnを削除
Browse files Browse the repository at this point in the history
  • Loading branch information
studiokaiji committed Oct 10, 2023
1 parent a51cc48 commit d22fc16
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions hostr/cmd/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package server
import (
"context"
"encoding/base64"
"fmt"
"net/http"

"github.com/gin-gonic/gin"
Expand Down Expand Up @@ -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から始まる場合はデコードする
Expand All @@ -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{
Expand Down

0 comments on commit d22fc16

Please sign in to comment.