Skip to content

Instantly share code, notes, and snippets.


Luis Ángel Méndez Gort lamg

View GitHub Profile
lamg / golang_request_ip_from_context.go
Last active Oct 25, 2017
How to get the IP address in the dialer's context, using
View golang_request_ip_from_context.go
package main
import (
gp ""

Keybase proof

I hereby claim:

  • I am lamg on github.
  • I am lamg ( on keybase.
  • I have a public key whose fingerprint is A1C2 E5BE EA42 B2B9 1A8A 0D80 3941 99B7 9F03 6583

To claim this, I am signing this object:

You can’t perform that action at this time.