util

package
v1.91.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse_json_config_file_panic_on_err

func Parse_json_config_file_panic_on_err[T any](config_file_location string, struct_constructor ctor_fn[T], out_ptr **T)

func Parse_json_data_into_struct

func Parse_json_data_into_struct[T any](data []byte, struct_constructor ctor_fn[T]) (*T, error)

func Parse_json_file_into_struct

func Parse_json_file_into_struct[T any](json_file_location string, struct_constructor ctor_fn[T]) (*T, error)

Types

This section is empty.

Directories

Path Synopsis
Checks that JSON file does not contain any fields that are not in the struct
Checks that JSON file does not contain any fields that are not in the struct

Jump to

Keyboard shortcuts

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