From 1330b5957d651c078bcc6186de1c6161aac740d0 Mon Sep 17 00:00:00 2001 From: V2Ray Date: Sat, 10 Oct 2015 12:14:21 +0200 Subject: [PATCH] format code --- config/json/json.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/config/json/json.go b/config/json/json.go index f5105245b..a10f5fb6d 100644 --- a/config/json/json.go +++ b/config/json/json.go @@ -53,23 +53,23 @@ func (config *Config) Port() uint16 { } func (config *Config) LogConfig() config.LogConfig { - if config.LogConfigValue == nil { - return nil - } + if config.LogConfigValue == nil { + return nil + } return config.LogConfigValue } func (config *Config) InboundConfig() config.ConnectionConfig { - if config.InboundConfigValue == nil { - return nil - } + if config.InboundConfigValue == nil { + return nil + } return config.InboundConfigValue } func (config *Config) OutboundConfig() config.ConnectionConfig { - if config.OutboundConfigValue == nil { - return nil - } + if config.OutboundConfigValue == nil { + return nil + } return config.OutboundConfigValue }