go-flat

module
v0.0.0-...-7d52044 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2021 License: MIT

README

CircleCI Go Report Card GoDoc license

go-flat

Description

go-flat is a simple library that provides functions to recursively flatten a slice of slices.

Usage

Go

You can import go-flat as a library with:

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

See flat in the docs for information on how to use Go API. See the tests for ways to use this library.

Examples

See examples in the docs.

Testing

Run test using make test or (bash scripts/test.sh), which runs unit tests, go vet, go vet with shadow, errcheck, ineffassign, 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.

Directories

Path Synopsis
pkg
flat
Package flat provides functions to recursively flatten a slice of slices.
Package flat provides functions to recursively flatten a slice of slices.

Jump to

Keyboard shortcuts

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