jsonHandler

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JsonRead

func JsonRead(filename string, interf interface{}) (err error)

JsonRead: datas from file to given interface / structure i.e: err := ReadJson(filename, &person) remember to put upper char at left of variables names to be saved.

func JsonWrite

func JsonWrite(filename string, interf interface{}) (err error)

JsonWrite: datas to file from given interface / structure i.e: err := WriteJson(filename, &person) remember to put upper char at left of variables names to be saved.

Types

This section is empty.

Jump to

Keyboard shortcuts

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