# HG changeset patch # User Sascha L. Teichmann # Date 1554216910 -7200 # Node ID ae678f7cf9388b71e01b49424fcda48514692cc8 # Parent 818ec1265772138e717cf573cf0ce5ffe06b6e4c Removed irritatting parts from config doc strings. diff -r 818ec1265772 -r ae678f7cf938 pkg/config/config.go --- a/pkg/config/config.go Tue Apr 02 16:52:25 2019 +0200 +++ b/pkg/config/config.go Tue Apr 02 16:55:10 2019 +0200 @@ -140,7 +140,6 @@ } // ProxyPrefix is the prefix used in generated URLs by the proxy. -// It defauls to http://${WebHost}:${WebPort}". // You may need to set this if you run gemma behind a proxy // on a specific domain. func ProxyPrefix() string { @@ -156,7 +155,6 @@ } // ExternalURL is the URL to find this server from the outside. -// It defauls to http://${WebHost}:${WebPort}". func ExternalURL() string { fetchExternal := func() { if externalURL == "" { @@ -183,7 +181,7 @@ return sessionTimeout } -// The root directories where to find schema files. +// SchemaDirs are the root directories where to find schema files. func SchemaDirs() string { return viper.GetString("schema-dirs") } // RootCmd is cobra command to be bound th the cobra/viper infrastructure.