regmarshal

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

README

go-regmarshal

GoDoc Go Reference

Store & retrieve Go structs from the Windows Registry

Documentation

Overview

Package regmarshal implements marshalling and unmarshalling Go structs into a sensible structure in the Windows Registry.

For the time being, the only supported types are `String`, `int`, and `[]byte{}`.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

func Marshal(v interface{}, key registry.Key, path string) error

Marshal marshals.

func Unmarshal

func Unmarshal(key registry.Key, path string, v interface{}) error

Unmarshal unmarshals.

Types

type InvalidUnmarshalError

type InvalidUnmarshalError struct {
	Type reflect.Type
}

An InvalidUnmarshalError is a description of an unmarshalling error.

func (*InvalidUnmarshalError) Error

func (e *InvalidUnmarshalError) Error() string

Jump to

Keyboard shortcuts

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