[PD1] log fixing
This commit is contained in:
parent
d6b8ed48a6
commit
f5b3726673
6 changed files with 79 additions and 37 deletions
|
@ -3,6 +3,7 @@ package server
|
|||
import (
|
||||
"bufio"
|
||||
"fmt"
|
||||
"log"
|
||||
"os"
|
||||
)
|
||||
|
||||
|
@ -12,3 +13,7 @@ func readStdin(message string) string {
|
|||
scanner.Scan()
|
||||
return scanner.Text()
|
||||
}
|
||||
|
||||
func LogFatal(err error) {
|
||||
log.Fatalln(err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue