Path to this page:
NOTICE: This package has been removed from pkgsrc./
wip/go-structs,
Utilities for Go structs
Branch: CURRENT,
Version: 1.1.0,
Package name: go-structs-1.1.0,
Maintainer: kamelderouicheStructs 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
```bash
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:
RMD160: 0372aea1c23977f26418fe39477c1aae30f68ecb
Filesize: 14.105 KB
Version history: (Expand)
- (2023-10-21) Package deleted from pkgsrc
- (2023-02-13) Package has been reborn
- (2021-01-09) Package added to pkgsrc.se, version go-structs-1.1.0 (created)