mirror of
https://github.com/kataras/iris.git
synced 2025-12-21 20:07:04 +00:00
Nothing special: Linting
This commit is contained in:
@@ -2,6 +2,7 @@ package config
|
||||
|
||||
import "github.com/imdario/mergo"
|
||||
|
||||
// Editor the configs for the Editor plugin
|
||||
type Editor struct {
|
||||
// Host if empty used the iris server's host
|
||||
Host string
|
||||
@@ -34,7 +35,7 @@ func (c Editor) Merge(cfg []Editor) (config Editor) {
|
||||
return
|
||||
}
|
||||
|
||||
// Merge MergeSingle the default with the given config and returns the result
|
||||
// MergeSingle merges the default with the given config and returns the result
|
||||
func (c Editor) MergeSingle(cfg Editor) (config Editor) {
|
||||
|
||||
config = cfg
|
||||
|
||||
Reference in New Issue
Block a user