MCPcopy Create free account
hub / github.com/MG-RAST/Shock / getDefinedValueString

Function getDefinedValueString

shock-server/conf/conf_store.go:28–34  ·  view source on GitHub ↗
(c *config.Config, section string, key string, target *string)

Source from the content-addressed store, hash-verified

26}
27
28func getDefinedValueString(c *config.Config, section string, key string, target *string) {
29 if string_value, err := c.String(section, key); err == nil {
30 string_value = os.ExpandEnv(string_value)
31 *target = string_value
32 }
33
34}
35
36type Config_value struct {
37 Conf_type string

Callers 1

get_my_config_stringFunction · 0.85

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected