Skip to content

Commit

Permalink
Revert "replace fmt.Sprintf("...", ...) with slog.Info"
Browse files Browse the repository at this point in the history
This reverts commit 89f74a7.
  • Loading branch information
ramonpetgrave64 committed May 17, 2024
1 parent b52235f commit 784ebdb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cli/experimental/service/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package main
import (
"fmt"
"log"
"log/slog"
"net/http"
"time"

Expand All @@ -20,7 +19,7 @@ func main() {
http.Handle("/", r)

address := ":8000"
slog.Info(fmt.Sprintf("Starting HTTP server on %v ...\n", address))
fmt.Printf("Starting HTTP server on %v ...\n", address)
srv := &http.Server{
Handler: r,
Addr: address,
Expand Down

0 comments on commit 784ebdb

Please sign in to comment.