mirror of
https://github.com/gwuhaolin/livego.git
synced 2021-06-01 09:10:22 +03:00
Removed print
This commit is contained in:
@@ -3,7 +3,6 @@ package configure
|
||||
import (
|
||||
"bytes"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/kr/pretty"
|
||||
@@ -130,7 +129,6 @@ func LoadConfig() {
|
||||
func CheckAppName(appname string) bool {
|
||||
apps := Applications{}
|
||||
Config.UnmarshalKey("server", &apps)
|
||||
fmt.Println(apps)
|
||||
for _, app := range apps {
|
||||
if app.Appname == appname {
|
||||
return app.Live
|
||||
|
||||
Reference in New Issue
Block a user