go-linq
gen
Our great sponsors
go-linq | gen | |
---|---|---|
4 | 7 | |
3,399 | 2,067 | |
- | 2.8% | |
0.0 | 7.4 | |
over 1 year ago | 5 days ago | |
Go | Go | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
go-linq
-
Fourteen Years of Go
This is a lot more possible now that Go has generics (as of 1.18).
I would probably never use these, as I find such libraries are a whole new domain-specific language to learn, and often don't make things much simpler anyway, but here are some libraries where people have done something like this:
* https://github.com/ahmetb/go-linq: modelled after LINQ, but created pre-generics so only recently added some generics features
-
Querying and transforming object graphs in Go
So awhile back, there was a port of Linq https://github.com/ahmetb/go-linq that ended up giving up, since then it has been continued with https://github.com/szmcdull/glinq
-
Juniper is an extended Go standard library using generics, including containers, iterators, and streams
I am aware of this that predates generics: https://github.com/ahmetb/go-linq/blob/master/groupby.go
- What libraries from other languages do you wish were ported over into go?
gen
-
orms in go
Have you tried gorm with their generator code?
- Gen: Friendly & Safer GORM powered by Code Generation
- Gen: Friendly and Safer GORM Powered by Code Generation
-
GORM is a bad idea?
You can use gorm and gorm-gen https://github.com/go-gorm/gen together
-
Sql generator but for SQLite
Maybe this is what you want? Saw it posted here earlier today: https://github.com/go-gorm/gen
What are some alternatives?
Anakin - Codegeneration tool for isomorphic server and mobile Go apps with gRPC & Protobuf. Share code between your backend, Android & iOS app! :sun_with_face:
golang-gin-realworld-example-app - Exemplary real world application built with Golang + Gin
pkgreflect - A Go preprocessor for package scoped reflection
GORM - The fantastic ORM library for Golang, aims to be developer friendly
efaceconv
go-mybatis - ORM Library for go.Have Powerful Features like transaction nesting, Optimistic Lock,Logical deletion and more. like mybatis for go golang
gen - Type-driven code generation for Go
SQLBoiler - Generate a Go ORM tailored to your database schema.
interfaces - Code generation tools for Go.
jennifer - Jennifer is a code generator for Go
w3 - Enhanced Ethereum Integration for Go