krok
The main server of the hook management system (by krok-o)
svc-fizzbuzz
A simple fizzbuzz microservice (by hugdubois)
Our great sponsors
krok | svc-fizzbuzz | |
---|---|---|
9 | 1 | |
13 | 0 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | over 2 years ago | |
Go | Go | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
krok
Posts with mentions or reviews of krok.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-08.
-
my first golang project!
Tests!!! You have none. :) If you want to test with a real DB instead of mocking everything you can do that with an ephemeral container that spins up relatively fast. Here is an example for that: https://github.com/krok-o/krok/blob/main/tests/livestore/init_test.go ( This might be a bit over your head depending on your experience maybe this post is better: https://docs.docker.com/language/golang/run-tests/ )
-
need help with "os/exec"
As others suggested, using the API is nicer. If you are looking for a nice example on how to do that take a look at my docker container executor code here: https://github.com/krok-o/krok/blob/main/pkg/krok/providers/executor/in_memory_executor.go :)
-
Presenting Krok - Multiplatform webhook handling system with containerised commands
I would like to present a project I've been working on for 1.5 years or so, called Krok Github, Krok Website.
-
[Question] How to split main.go into separate packages/files whilst maintaining Dependency Injection?
Here is a fairly complex project which does just this: https://github.com/krok-o/krok
-
What is the fastest way to clear my SQL database between integration tests?
This creates a temporary database in a docker container while you are running your test. For an example look here: https://github.com/krok-o/krok/blob/main/tests/livestore/init_test.go
svc-fizzbuzz
Posts with mentions or reviews of svc-fizzbuzz.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-26.
-
[Question] How to split main.go into separate packages/files whilst maintaining Dependency Injection?
For my projects I use this code organization (https://github.com/hugdubois/svc-fizzbuzz). I don't necessarily use dependency injection because I consider go packages to be a singleton (with a setup function).
What are some alternatives?
When comparing krok and svc-fizzbuzz you can also consider the following projects:
todo-api-microservice-example - Go microservice tutorial project using Domain Driven Design and Onion Architecture!
typhon - A wrapper around Go's net/http to provide safety and convenience. At Monzo, Typhon forms the basis of most clients and servers in our microservices platform.
sql-migrate - SQL schema migration tool for Go.
microservicebotexample
txdriver - txdriver provides transaction isolation for Go SQL tests
go-banking-api - Banking API implementation using Go
fx - A dependency injection based application framework for Go.
cmd - Non-blocking external commands in Go with streaming output
go-structure-examples - Examples for my talk on structuring go apps
test