sysconf

package
v1.2.2-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package sysconf provides a unified configuration container for the Go programming language.

In the Go programming language, unlike many other languages, the standard library lacks a unified and general-purpose configuration container. To address this gap, go-spring introduces a powerful configuration system that supports layered configuration management and flexible injection.

So sysconf serves as the fallback configuration container within an application, acting as the lowest-level foundation of the configuration system. It can be used independently or as a lightweight alternative or supplement to other configuration sources such as environment variables, command-line arguments, or configuration files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clear

func Clear()

Clear clears all properties.

func Clone

func Clone() *conf.MutableProperties

Clone copies all properties into another properties.

func Get

func Get(key string) string

Get returns the property of the key.

func Has

func Has(key string) bool

Has returns whether the key exists.

func Set

func Set(key string, val string)

Set sets the property of the key.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL