syslogd server and client in golang
Server side Server is running on port localhost:514 Client side Sending message to log server: Output on server side: DONE 🙂
Server side Server is running on port localhost:514 Client side Sending message to log server: Output on server side: DONE 🙂
Package context defines the Context type, which carries deadlines, cancellation signals, and other request-scoped values across API boundaries and between processes. Incoming requests to a server should create a Context, …
Litter is a pretty printer library for Go data structures to aid in debugging and testing. Litter named for the fact that it outputs literals, which you litter your output with. As a …
If You have map with key and value in variable and you need iterate on it… Easy example for composing env variables in text template: The character – on line …
Fiber is an Express inspired web framework built on top of Fasthttp, the fastest HTTP engine for Go. Designed to ease things up for fast development with zero memory allocation and performance in mind. Philosophy New gophers that make the switch from Node.js to Go are dealing with a learning curve …
1. normal build Size of my binary: 20MB 2. ldflags You can build app with additional parameters -ldflags=“-s -w“ Size of my binary: 16MB 3. FINALY: upx You can use …
Gonum is a set of packages designed to make writing numerical and scientific algorithms productive, performant, and scalable. Gonum contains libraries for matrices and linear algebra; statistics, probability distributions, and sampling; tools for function differentiation, integration, and optimization; network creation …