How I Structure Go Packages
https://bencane.com/stories/2020/07/06/how-i-structure-go-packages/
Source:
https://weekly.statuscode.com/
Microservices in golang
This is a ten part series on writing microservices in Golang. Making use of protobuf and gRPC as the underlying transport protocol. Why? Because it took me a long time to figure this out and settle on a solution that was clear and concise, and I wanted to share what I’d learnt about creating, testing and deploying microservices end-to-end with others new to the scene.
https://ewanvalentine.io/microservices-in-golang-part-1/
Source:
https://weekly.statuscode.com/
Git Internals – Learn Git by Building Your Own Git
ugit: DIY Git in Python
Welcome aboard! We’re going to implement Git in Python to learn more about how Git works on the inside.This tutorial is different from most Git internals tutorials because we’re not going to talk about Git only with words but also with code! We’re going to write in Python as we go.
This is not a tutorial on using Git! To follow along I advise that you have working knowledge of Git. If you’re a newcomer to Git, this tutorial is probably not the best place to start your Git journey. I suggest coming back here after you’ve used Git a bit and you’re comfortable with making commits, branching, merging, pushing and pulling.
https://www.leshenko.net/p/ugit/
Source:
https://weekly.statuscode.com/
Form Handling in Flask
Forms are an essential part of any web application but unfortunately working with them is quite difficult. It all starts with the client, first, you have to validate the data on client side, then on the server. If that’s not enough, you have take care of all the security concerns like CSRF, XSS, SQL Injection and so on. All in all, that’s a lot of work. Fortunately, we have an excellent library called WTForms to do the heavy lifting for us. Before we learn more about WTForms, the following section gives you a little tour on how you can go about handling forms in Flask without using any library or package.
Securing containers by breaking in
Liran Tal, Lead Developer Advocate at Snyk, discusses best practices for container security and shows how to protect the Docker image by building up a pipeline and development workflow with security testing in mind.
This webinar was run in cooperation with DoiT international and moderated by Spencer Paul, Director of Sales at DoiT.
Git rebasing: What is it and how can you use it?
I’ve talked before about how the history of a codebase is as important as the codebase itself. Rebase is the tool that can make the single biggest impact to achieving this. Prior knowledge of the fundamental concepts of source control is crucial to understanding this post.
Remember, even though you can use Rebase for the following (and maybe more) cases, it remains best practice to commit early and often:
* Edit/rework a commit in the history
* Add a commit into the history of a change set (or branch)
* Remove a commit from the history of a change set (or branch)
* Split a commit into several commits
* Combine a series of commits into one commit
* Re-order commits