jennifer
go-patterns
Our great sponsors
jennifer | go-patterns | |
---|---|---|
6 | 8 | |
3,177 | 24,114 | |
- | - | |
3.7 | 0.0 | |
8 months ago | 7 months ago | |
Go | Go | |
MIT License | Apache License 2.0 |
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.
jennifer
-
How to minimize RAM usage during Go binary compilation
We have a repo/library called fasten-sources which is made up of mostly generated code (using dave/jennifer)
-
Golang’s best-kept secret: ‘executable examples’
Check out my https://github.com/dave/rebecca package for a neat way of building readme docs by embedding Go docs and examples. It generates the readme for https://github.com/dave/jennifer (see https://github.com/dave/jennifer/blob/master/README.md.tpl).
-
Designing a config API for microservices applications built using Go
The design of the wrapper functions meant we couldn’t easily unmarshal the CUE value into the wrapper functions. This meant we needed to generate unmarshalled functions for the config types. We use the excellent Jennifer library by Dave (no really; github.com/dave/jennifer) for generating Go files.
-
Simple code generator tools to explore inner workings of?
I've used https://github.com/dave/jennifer in the past, and been very happy with it.
-
How to choose a golang template rending engine for my project?
If specifically for generating Go code, I would suggest you take a look at Jennifer.
-
Boilerplate for experienced devs
I just spent a few hours writing a crapload of boilerplate code generation code with jennifer, if that helps any.
go-patterns
- Options Pattern em Go
-
Go pro! With these free Golang resources
3). GO Patterns
-
Software architecture in golang,
Re Go, there are a lot of lot of good patterns available available, but a lot of them aren’t OOP specific. In fact, both Go and Rust have been influenced by multiple paradigms, including OOP. Like the FAQ says,
- Boilerplate for experienced devs
-
Should I learn Golang or use Ansible to delveop the operators?
What's great is there are really great patterns to follow out there on github (both code patterns https://github.com/tmrts/go-patterns and examples https://github.com/avelino/awesome-go https://github.com/go-kit/kit and for the app itself, https://github.com/golang-standards/project-layout )... and for me a really naggy mentor who insists everything be "idiomatic go"
-
Why is this executing in this order?
So I am trying to write a simple generator based on this pattern and the results are a little counter-intuitive. My goal is to create a generator like the above that takes a net.IPNet object and ranges over all net.IP`'s contained in that network. When printing results, I am seeing the same values show up in subsequent executions of the loop and am not sure why. Code follows:
- Go is not an easy language
- Need suggestions for good tutorial on concurrency and design patterns in golang.
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:
handlers - A collection of useful middleware for Go HTTP services & web applications 🛃
gen - Type-driven code generation for Go
Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
go-linq - .NET LINQ capabilities in Go
go-kit - A standard library for microservices.
efaceconv
python - Official Python client library for kubernetes
interfaces - Code generation tools for Go.
crystal - The Crystal Programming Language
goverter - Generate type-safe Go converters by simply defining an interface
Grumpy - Grumpy is a Python to Go source code transcompiler and runtime.