func (reader *PluginConfigReader) GetUint(key string, defaultValue uint64) uint64 {
	value, err := reader.WithError.GetUint(key, defaultValue)
	reader.Errors.Push(err)
	return value
}
GetUint tries to read an unsigned integer value from a PluginConfig.
If that value is not found defaultValue is returned.
package core
import (
	"fmt"
	"net/url"
	"reflect"
	"unsafe"
	"github.com/sirupsen/logrus"
	"github.com/trivago/tgo"
	"github.com/trivago/tgo/tcontainer"
	"github.com/trivago/tgo/treflect"
)
type Configurable interface {
	Configure(PluginConfigReader)
}
type ScopedLogger interface {
	GetLogger() logrus.FieldLogger
}
type PluginConfigReader struct {
	WithError PluginConfigReaderWithError
	Errors    *tgo.ErrorStack
}
func NewPluginConfigReader(config *PluginConfig) PluginConfigReader {
	errors := tgo.NewErrorStack()
	errors.SetFormat(tgo.ErrorStackFormatCSV)
	return PluginConfigReader{
		WithError: NewPluginConfigReaderWithError(config),
		Errors:    &errors,
	}
}
func NewPluginConfigReaderFromReader(reader PluginConfigReaderWithError) PluginConfigReader {
	errors := tgo.NewErrorStack()
	errors.SetFormat(tgo.ErrorStackFormatCSV)
	return PluginConfigReader{
		WithError: reader,
		Errors:    &errors,
	}
}
func (reader *PluginConfigReader) GetID() string {
	return reader.WithError.GetID()
}
func (reader *PluginConfigReader) GetTypename() string {
	return reader.WithError.GetTypename()
}
func (reader *PluginConfigReader) GetLogger() logrus.FieldLogger {
	return reader.WithError.GetLogger()
}
func (reader *PluginConfigReader) GetSubLogger(subScope string) logrus.FieldLogger {
	return reader.WithError.GetSubLogger(subScope)
}
func (reader *PluginConfigReader) HasValue(key string) bool {
	return reader.WithError.HasValue(key)
}
func (reader *PluginConfigReader) GetString(key string, defaultValue string) string {
	value, err := reader.WithError.GetString(key, defaultValue)
	reader.Errors.Push(err)
	return value
}
func (reader *PluginConfigReader) GetURL(key string, defaultValue string) *url.URL {
	value, err := reader.WithError.GetURL(key, defaultValue)
	reader.Errors.Push(err)
	return value
}
func (reader *PluginConfigReader) GetInt(key string, defaultValue int64) int64 {
	value, err := reader.WithError.GetInt(key, defaultValue)
	reader.Errors.Push(err)
	return value
}