https://github.com/golang-infrastructure/go-tuple
Golang中的元组的实现,封装一些便捷方法
https://github.com/golang-infrastructure/go-tuple
tuple
Last synced: 3 months ago
JSON representation
Golang中的元组的实现,封装一些便捷方法
- Host: GitHub
- URL: https://github.com/golang-infrastructure/go-tuple
- Owner: golang-infrastructure
- License: mit
- Created: 2022-07-07T06:53:08.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-15T15:58:17.000Z (over 2 years ago)
- Last Synced: 2025-01-18T16:11:00.813Z (5 months ago)
- Topics: tuple
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tuple
# 一、安装
```bash
go get -u github.com/golang-infrastructure/go-tuple
```# 二、示例代码
```go
package mainimport (
"fmt"
"github.com/golang-infrastructure/go-tuple"
)func main() {
t2 := tuple.New2(1, "test")
fmt.Println(t2)}
```