Passing Real IP in WordPress behind Proxy or in Docker

If you have followed the tutorial on How to run WordPress Blog behind Nginx Secure (https) Proxy, you might be under a situation that WordPress is showing all ips as proxy ips. In case of Docker it must be like 172.X.X.X otherwise, it is the ip of your server.  If this is a problem? You might […]

Why struct isn’t getting any data on unmarshal in Go?

Among first few problems, a go lang programmer will probably be struggling with a blank struct. Structs have blank values when one of the following things are wrong: 1. Invalid Naming Conventions: First letter of fields in struct should be capital. For example //Invalid name type Person struct { name string age int } //Valid […]

First three utility packages for a Go Lang developer

With awesome Go, we have some usual problems which are solved by some awesome packages. Some common problems which every programming language has are – versioning, dependency and debugging. 1. GVM GVM – Go Version Manager It helps in switching between different go versions. Depending on code base, you can easily switch between different go […]

Scroll to top