config

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package config handles application configuration management.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	StoragePath string `json:"storage_path"`
}

Config holds the application configuration.

func LoadConfig

func LoadConfig() (*Config, error)

LoadConfig loads configuration from ~/.snip/config.json. Creates the file with defaults if it doesn't exist.

Jump to

Keyboard shortcuts

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