...and now it works like you'd hope :)

$ gorram net/http Get https://npf.io/gorram/run
<!DOCTYPE html><html><head><link rel="canonical" 
href="https://npf.io/gorram/"/><meta http-equiv="content-type" 
content="text/html; charset=utf-8" /><meta http-equiv="refresh" 
content="0;url=https://npf.io/gorram/"; /></head></html>

or if you want to get fancy:

$ gorram net/http Get https://npf.io/gorram/run | gorram 
github.com/yosssi/gohtml Format
<!DOCTYPE html>
<html>
  <head>
    <link rel="canonical" href="https://npf.io/gorram/"/>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta http-equiv="refresh" content="0;url=https://npf.io/gorram/"; />
  </head>
</html>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to