pgtestdb
gobyexample
pgtestdb | gobyexample | |
---|---|---|
2 | 108 | |
99 | 6,891 | |
- | - | |
6.8 | 7.8 | |
about 1 month ago | 6 days ago | |
Go | Go | |
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.
pgtestdb
-
Russ Cox: Go Testing by Example
Agreed with most of this but I’m skeptical of the rsc.io/script dsl approach. I’ll try it, though, because Russ is often right.
shameless advert: do you wish testify was implemented with generics and go-cmp, and had a more understandable surface area? Check out my small zero-dep library, Testy https://github.com/peterldowns/testy
shameless advert: do you want to write tests against your postgres database, but each new test adds seconds to your test suite? Check out pgtestdb, the marginal cost of each test is measured in tens of milliseconds, and each test gets a unique and isolated postgres instance — with all your migrations applied. https://github.com/peterldowns/pgtestdb
-
Show HN: SQL Dry Runs with SQL Simulator
Hi Weston, congratulations on launching. You've done a great job of explaining what the project is and how it works. I'm not in the ecosystem you've built this for so I can't comment too much on the project itself, but nice work communicating it.
If anyone is interested in testing code/sql against postgres, I recently released https://github.com/peterldowns/pgtestdb. It uses template databases and advisory locks to give each test its own unique database with a near-zero marginal cost for each additional test. Combined with a ram/tmpfs-backed postgres server that is tuned for performance, it goes extremely fast.
Currently just for golang but I'm planning on releasing equivalent-capability libraries for Python and Typescript over the next month. If anyone has any thoughts/comments/feedback/suggestions I'd be extremely thankful.
gobyexample
-
The Journey Ahead: My 6-Month Plan to Master GoLang
GoByExamples: Offers clear, annotated examples for quick learning.
-
Golang Web: GET Method
Go by example
- What is Go 2024 Edition
-
Key value store in golang
I am not expend much time explaining things abouts golang sintax so i assume that you have go installed, you have basic knowledge of the language and at least create some basic project, if you need a refresh take a look here https://gobyexample.com/.
-
Russ Cox: Go Testing by Example
Some similar resources I like:
"Learn Go with Tests" book: https://quii.gitbook.io/learn-go-with-tests
"Go by Example": https://gobyexample.com/
- Why people in Google hate Go?
-
Beginner question about channels
Lately I've been learning go and I'm really liking it so far. I think Go fits the needs of a JavaScript programmer that wants to go lower level but not as low as c/c++.Currently I'm using Go by example for learning purposes.
-
Introduction to Go: A Powerful and Efficient Programming Language
Go By Example
-
Guide to Go lang development.
I'm currently learning go and I would recommend this
-
How to learn go from zero?
here's a good start http://gobyexample.com
What are some alternatives?
testy - test helpers for more meaningful, readable, and fluent tests
learngo - ❤️ 1000+ Hand-Crafted Go Examples, Exercises, and Quizzes. 🚀 Learn Go by fixing 1000+ tiny programs.
learn-go-with-tests - Learn Go with test-driven development
recipes - 📁 Examples for 🚀 Fiber
Rustlings - :crab: Small exercises to get you used to reading and writing Rust code!
splitter - React component for building split views like in VS Code
AzurePolicyTestFramework - A command line tool to test Azure Policy relying on Terraform + Golang
gopl.io - Example programs from "The Go Programming Language"
JSON-to-Go - Translates JSON into a Go type in your browser instantly (original)
operator-sdk - SDK for building Kubernetes applications. Provides high level APIs, useful abstractions, and project scaffolding.
golang-developer-roadmap - Roadmap to becoming a Go developer in 2020
niv - Easy dependency management for Nix projects