Skip to content

Storage for structures (embedded) with the ability to search by field structure.

License

Notifications You must be signed in to change notification settings

claygod/structer

Repository files navigation

Structer

Storage for structures (embedded), with the ability to search by field structure. This library is unsafe.

API documentation Go Report Card

Usage

An example of using the Structer:

package main

import (
	"github.com/claygod/structer"
)

// Main
func main() {
	s := structer.New()
	...
}

Perfomance

  • Add-4 500000 4452 ns/op
  • AddParallel-4 500000 3104 ns/op
  • Find-4 2000000 909 ns/op
  • FindParallel-4 3000000 494 ns/op

API

Methods:

  • New - create a new storage for structures

About

Storage for structures (embedded) with the ability to search by field structure.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages