Are you a beginner in GoLang? Then it requires your attention 🙂.
Good and simple for understanding article about microservice-based API development; just simple and work solution with code examples and couple of advices
#development #microservices #architecture #practice
https://medium.com/@thedevsaddam/build-restful-api-service-in-golang-using-gin-gonic-framework-85b1a6e176f3?source=linkShare-b636419a57de-1516910445
Good and simple for understanding article about microservice-based API development; just simple and work solution with code examples and couple of advices
#development #microservices #architecture #practice
https://medium.com/@thedevsaddam/build-restful-api-service-in-golang-using-gin-gonic-framework-85b1a6e176f3?source=linkShare-b636419a57de-1516910445
Interesting article about the bufio package in GoLang. How does it work (read, write for different data types) inside of package
#development #practice
https://medium.com/golangspec/introduction-to-bufio-package-in-golang-ad7d1877f762?source=linkShare-b636419a57de-1520074459
#development #practice
https://medium.com/golangspec/introduction-to-bufio-package-in-golang-ad7d1877f762?source=linkShare-b636419a57de-1520074459
Medium
Introduction to bufio package in Golang
Package bufio helps with buffered I/O. Through a bunch of examples we’ll get familiar with goodies it provides: Reader, Writer and Scanner…
One of popularly questions is: How to handle errors correctly? GoLang best practices on the Medium will help with it. Of course, code examples are included 🙂
#development #practice #basics
https://medium.com/@sebdah/go-best-practices-error-handling-2d15e1f0c5ee?source=linkShare-b636419a57de-1520408380
#development #practice #basics
https://medium.com/@sebdah/go-best-practices-error-handling-2d15e1f0c5ee?source=linkShare-b636419a57de-1520408380
Medium
Go Best Practices — Error handling
This is the first article in a series of lessons I’ve learnt over the couple years I’ve worked with Go in production. We are running a good…
Benchmarks, profiling and code analysis there are words about quality software. Here is an article about it. I sure many of you have already known something about GoLang programs optimization, but may be someone will find here new points of it. Anyway, enjoy reading 🙂
#development #practice #memory
https://medium.com/@hackintoshrao/daily-code-optimization-using-benchmarks-and-profiling-in-golang-gophercon-india-2016-talk-874c8b4dc3c5?source=linkShare-b636419a57de-1521360367
#development #practice #memory
https://medium.com/@hackintoshrao/daily-code-optimization-using-benchmarks-and-profiling-in-golang-gophercon-india-2016-talk-874c8b4dc3c5?source=linkShare-b636419a57de-1521360367
Medium
Daily code optimization using benchmarks and profiling in Golang - Gophercon India 2016 talk
Need some help with analyzing whether algorithm A performs faster than B? Or can I know whether method A performs better than method B? Or…
How to work and use field tags in GoLang? Inside of this article Michał Łowicki from Opera company explains basics and features of tagging; include examples and best practices 🙂
#development #practice #basics
https://medium.com/golangspec/tags-in-golang-3e5db0b8ef3e
#development #practice #basics
https://medium.com/golangspec/tags-in-golang-3e5db0b8ef3e
Medium
Tags in Golang
Declaration of struct fields can be enriched by string literal placed afterwards — tag. Tags add meta information used either by current…
One more cool article about the fmt package: io.reader, printf, println functions, formatters, work with strings and STDIN. All that you want to know, but were afraid to ask about the output printing process in GoLang 🙂
#development #practice #language
https://medium.com/go-walkthrough/go-walkthrough-fmt-55a14bbbfc53?source=linkShare-b636419a57de-1522055573
#development #practice #language
https://medium.com/go-walkthrough/go-walkthrough-fmt-55a14bbbfc53?source=linkShare-b636419a57de-1522055573
Medium
Go Walkthrough: fmt
Templated formatting using the “fumpt” package.
I continue to looking for interesting articles about the IO package and today I’ve found one more good post in last Medium Digest by Vladimir Vivien from Kubernates. It calls “IO Streaming в GoLang”.
Main points of it:
- A structure and internal processes of io.Reader and io.Writer;
- Custom implementations of them;
- Useful types and packages for IO(os.File, os.Stdout, os.Stdin, and os.Stderr, io.Copy(), etc);
- Pipe writers and readers.
This article is completely of technical info, examples and illustrations 😀 Enjoy reading 📖!
#language #development #practice
https://medium.com/learning-the-go-programming-language/streaming-io-in-go-d93507931185
Main points of it:
- A structure and internal processes of io.Reader and io.Writer;
- Custom implementations of them;
- Useful types and packages for IO(os.File, os.Stdout, os.Stdin, and os.Stderr, io.Copy(), etc);
- Pipe writers and readers.
This article is completely of technical info, examples and illustrations 😀 Enjoy reading 📖!
#language #development #practice
https://medium.com/learning-the-go-programming-language/streaming-io-in-go-d93507931185
Medium
Streaming IO in Go
In Go, input and output operations are achieved using primitives that model data as streams of bytes that can be read from or written to…
Here is not new but interesting article about an escape analysis, pprof and debugging GoLang applications. Inside of post:
- Indirects;
- Slices, maps;
- Interfaces;
- Benchmarks and tests.
#practice #development #benchmarks
https://www.ardanlabs.com/blog/2018/01/escape-analysis-flaws.html
- Indirects;
- Slices, maps;
- Interfaces;
- Benchmarks and tests.
#practice #development #benchmarks
https://www.ardanlabs.com/blog/2018/01/escape-analysis-flaws.html
Ardan Labs
Escape-Analysis Flaws
Ardan Labs is trusted by small startups and Fortune 500 companies to train their engineers and develop business software solutions and applications.
100 lines of Go code for … HTTP(S) proxy! Take a look at fast and graceful proxy service based on standard Go http server and client packages 🙂
#development #practice
https://medium.com/@mlowicki/http-s-proxy-in-golang-in-less-than-100-lines-of-code-6a51c2f2c38c
#development #practice
https://medium.com/@mlowicki/http-s-proxy-in-golang-in-less-than-100-lines-of-code-6a51c2f2c38c
Medium
HTTP(S) Proxy in Golang in less than 100 lines of code
The goal is to implement a proxy server for HTTP and HTTPS. Handling of HTTP is a matter of parsing request, passing such request to…