./wip/go-structs, Utilities for Go structs

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 1.1.0, Package name: go-structs-1.1.0, Maintainer: kamelderouiche

Structs contains various utilities to work
with Go (Golang) structs. It was
initially used by me to convert a struct into a `map[string]interface{}`. With
time I've added other utilities for structs. It's basically a high level
package based on primitives from the reflect package. Feel free to add new
functions or improve the existing code.

## Install

go get github.com/fatih/structs

## Usage and Examples

Just like the standard lib `strings`, `bytes` and co packages, `structs` has
many global functions to manipulate or organize your struct data. Lets define
and declare a struct:


Master sites:

SHA1: 676136de58c8d58b05567cc10b30b17fbe0dcfa3
RMD160: 0372aea1c23977f26418fe39477c1aae30f68ecb
Filesize: 14.105 KB

Version history: (Expand)