mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-29 15:10:35 +03:00
all: Use jww instead of fmt for printing
This is an attempt to unify method for printing.
This commit is contained in:
parent
e1da7cb320
commit
120f6b0cf2
8 changed files with 32 additions and 33 deletions
|
@ -211,7 +211,7 @@ func serve(port int) {
|
|||
}
|
||||
|
||||
jww.FEEDBACK.Printf("Web Server is available at %s (bind address %s)\n", u.String(), serverInterface)
|
||||
fmt.Println("Press Ctrl+C to stop")
|
||||
jww.FEEDBACK.Println("Press Ctrl+C to stop")
|
||||
|
||||
endpoint := net.JoinHostPort(serverInterface, strconv.Itoa(port))
|
||||
err = http.ListenAndServe(endpoint, nil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue