This is just my attempt and code from following the Go Generics Tutorial (https://go.dev/doc/tutorial/generics)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
James Mills 2020afddaa
Add Number type constraint interface
1 month ago
.dockerfiles Add Docker image, Tests and CI 1 month ago
cmd/generics Add Number type constraint interface 1 month ago
internal Add Docker image, Tests and CI 1 month ago
.drone.yml Add Docker image, Tests and CI 1 month ago
.gitignore Initial Commit 1 month ago
Dockerfile Add Docker image, Tests and CI 1 month ago
LICENSE Initial Commit 1 month ago
Makefile Initial Commit 1 month ago
README.md Add README Drone CI badge 1 month ago
go.mod Initial Commit 1 month ago
go.sum Add Docker image, Tests and CI 1 month ago
preflight.sh Add Docker image, Tests and CI 1 month ago
sum.go Add Number type constraint interface 1 month ago
sum_test.go Add Number type constraint interface 1 month ago

README.md

go-generics

Build Status

This is just my attempt and code from following the Go Generics Tutorial.

Nothing to see here 😅

Getting Started

TBD

License

This code is licensed under the WTFPL license.