Some magic features implemented using golang's generics
You can commit PR to this repository
go get -u github.com/gobkc/do
- how to test all unit test cases?
go test -v
- how to test a specific unit test case?
go test -v -run Poller
package main
import (
"github.com/gobkc/do"
"log"
)
func main() {
a := 1
log.Println(do.OneOf(a==1,true,false))
}
result : true
© Gobkc, 2023~time.Now
Released under the Apache License