Skip to content

spatialcurrent/go-fit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCI Go Report Card PkgGoDev License

go-fit

Description

go-fit is a library to fit data structures to their underlying types.

Usage

Go

You can import go-fit as a library with:

import (
  "github.com/spatialcurrent/go-fit/pkg/fit"
)

The easiest pattern is to use the fit.Fit(in interface{}) interface{} function.

fittedObject := fit.Fit(obj)

See fit in the docs for information on how to use Go API.

Testing

To run Go tests use make test_go or (bash scripts/test.sh), which runs unit tests, go vet, go vet with shadow, errcheck, staticcheck, and misspell.

Contributing

Spatial Current, Inc. is currently accepting pull requests for this repository. We'd love to have your contributions! Please see Contributing.md for how to get started.

License

This work is distributed under the MIT License. See LICENSE file.

About

Library to fit data structures to their underlying types.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published