-
### Description
The current structure of client-go, with its dependencies on `k8s.io/api` and `k8s.io/apimachinery` present some significant challenges:
* **Dependency bloat:** projects end up p…
-
1. template code
```go
package mock
import "github.com/songzhibin97/gkit/timeout"
type TestInterface interface {
Call() Generics[timeout.DbJSON]
}
type Generics[T any] struct {
generic…
-
Go now has a prototype of generics implementation. Here are some resources:
- https://blog.golang.org/generics-next-step
- https://go.googlesource.com/proposal/+/refs/heads/master/design/go2draft-…
-
**Background:** In https://github.com/golang/go/issues/69420 I proposed to promote the [golang.org/x/tools/go/types/typeutil.Map](https://pkg.go.dev/golang.org/x/tools/go/types/typeutil#Map) data type…
-
Following up on https://github.com/golang/go/issues/46477#issuecomment-2101270785, this umbrella issue tracks additional actions we can take to help tool authors support the new go/types.Alias node. W…
-
https://github.com/vlang/v
vlang is fast as clang,and is son of rust & golang,have simple and bu'tiful syntax
vlang's synatx is 80% similar of golang with better error handle and generics
and…
-
### Go version
go 1.20.7 linux/amd64 darwin/arm64
### Output of `go env` in your module/workspace:
```shell
GO111MODULE=''
GOARCH='arm64'
GOBIN=''
GOCACHE='/Users/user/Library/Caches/go-build'
…
xaurx updated
2 months ago
-
https://github.com/vlang/v
vlang is fast as clang,and is son of rust & golang,have simple and bu'tiful syntax
vlang's synatx is 80% similar of golang with better error handle and generics
and…
-
The Go 1.18 implementation of generics is documented at https://github.com/golang/proposal/blob/master/design/generics-implementation-dictionaries-go1.18.md. Unified IR implements substantially the sa…
-
I just found this awesome post: https://hindenbug.io/the-power-of-generics-in-go-the-repository-pattern-for-gorm-7f8891df0934.
What do you think guys?
On reddit the discussion is hot too: https:…