1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 09:57:01 +00:00

improvements to the x/errors pkg

This commit is contained in:
Gerasimos (Makis) Maropoulos
2022-03-03 20:55:28 +02:00
parent b8e84ec576
commit fc2f8f4776
5 changed files with 274 additions and 164 deletions

View File

@@ -912,7 +912,7 @@ type Configuration struct {
Other map[string]interface{} `ini:"other" json:"other,omitempty" yaml:"Other" toml:"Other"`
}
var _ context.ConfigurationReadOnly = &Configuration{}
var _ context.ConfigurationReadOnly = (*Configuration)(nil)
// GetVHost returns the non-exported vhost config field.
func (c Configuration) GetVHost() string {