An open API service indexing awesome lists of open source software.

https://github.com/golang-infrastructure/go-tuple

Golang中的元组的实现,封装一些便捷方法
https://github.com/golang-infrastructure/go-tuple

tuple

Last synced: 3 months ago
JSON representation

Golang中的元组的实现,封装一些便捷方法

Awesome Lists containing this project

README

        

# Tuple

# 一、安装

```bash
go get -u github.com/golang-infrastructure/go-tuple
```

# 二、示例代码

```go
package main

import (
"fmt"
"github.com/golang-infrastructure/go-tuple"
)

func main() {

t2 := tuple.New2(1, "test")
fmt.Println(t2)

}
```