mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
WTF-400 Minor code cleanup
This commit is contained in:
parent
8b2fc71f92
commit
daa422aee4
@ -6,7 +6,6 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/olebedev/config"
|
"github.com/olebedev/config"
|
||||||
// "github.com/wtfutil/wtf/logger"
|
|
||||||
"github.com/wtfutil/wtf/wtf"
|
"github.com/wtfutil/wtf/wtf"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -7,8 +7,6 @@ import (
|
|||||||
|
|
||||||
type Settings struct {
|
type Settings struct {
|
||||||
common *cfg.Common
|
common *cfg.Common
|
||||||
|
|
||||||
filePath string
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewSettingsFromYAML(ymlConfig *config.Config) *Settings {
|
func NewSettingsFromYAML(ymlConfig *config.Config) *Settings {
|
||||||
|
@ -4,7 +4,6 @@ import (
|
|||||||
"crypto/tls"
|
"crypto/tls"
|
||||||
"fmt"
|
"fmt"
|
||||||
"net/http"
|
"net/http"
|
||||||
// "os"
|
|
||||||
"regexp"
|
"regexp"
|
||||||
|
|
||||||
glb "github.com/andygrunwald/go-gerrit"
|
glb "github.com/andygrunwald/go-gerrit"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user