configjson

package module
v0.0.0-...-ce08e4a Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: MIT Imports: 3 Imported by: 0

README

configjson GoDoc

Import

import "github.com/soqet/configjson"

Overview

Package configjson implements decoding of JSON-encoded file.

Documentation

Overview

Package configjson implements decoding of JSON-encoded file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadConfigFile

func ReadConfigFile(path string, config any) error

ReadConfigFile parses the JSON-encoded file and stores the result in value pointed to by config. If config is nil or not a pointer, ReadConfigFile returns an InvalidUnmarshalError.

Types

This section is empty.

Jump to

Keyboard shortcuts

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