Categorygithub.com/ifuryst/lol
repositorypackage
1.3.0
Repository: https://github.com/ifuryst/lol.git
Documentation: pkg.go.dev

# README

lol

Go Reference Build Status Coverage Status

👾 Devoted to creating a simple and efficient Go toolbox, and maintaining it continuously.

Installation

go get -u github.com/ifuryst/lol

Quick Start

package main

import (
	"fmt"
	"github.com/ifuryst/lol"
)

func main() {
	res1 := lol.MergeSlice([]int{1, 4, 7}, []int{2, 5, 8}, []int{3, 6, 9})
	res2 := lol.MergeSlice([]int{1}, []int{2, 5, 8}, []int{3, 6}, []int{4, 7, 9, 10})
	fmt.Println(res1)
	fmt.Println(res2)
	// Output:
	// [1 4 7 2 5 8 3 6 9]
	// [1 2 5 8 3 6 4 7 9 10]
}

Usage

For more detailed usage, you can visit the wiki page.

Contributing

Contributions Welcome!

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'feat: add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

Released under the MIT License.