Skip to content

Commit

Permalink
Merge pull request #4 from burakturkerdev/revert-3-revert-2-main
Browse files Browse the repository at this point in the history
Revert "Revert "Use fmt.Println instead of println""
  • Loading branch information
burakturkerdev authored May 27, 2024
2 parents bba97bc + e7e8f71 commit dda9fef
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 63 deletions.
3 changes: 2 additions & 1 deletion src/common/protocolapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package common

import (
"encoding/json"
"fmt"
"log"
"net"
)
Expand Down Expand Up @@ -93,7 +94,7 @@ func (c *Connection) GetJson(t any) {
func (c *Connection) SendJson(t any) {
j, e := json.Marshal(t)
if e != nil {
println("Log => Json marshal error -> " + e.Error())
fmt.Println("Log => Json marshal error -> " + e.Error())
}
bytes := []byte{}

Expand Down
Loading

0 comments on commit dda9fef

Please sign in to comment.