mirror of
https://github.com/vbatts/talks.git
synced 2024-11-15 21:28:36 +00:00
22 lines
516 B
Go
22 lines
516 B
Go
package main
|
|
|
|
import (
|
|
"compress/gzip"
|
|
"encoding/base64"
|
|
"io"
|
|
"os"
|
|
"strings"
|
|
)
|
|
|
|
func main() {
|
|
var r io.Reader
|
|
r = strings.NewReader(data)
|
|
r = base64.NewDecoder(base64.StdEncoding, r)
|
|
r, _ = gzip.NewReader(r)
|
|
io.Copy(os.Stdout, r)
|
|
}
|
|
|
|
const data = `
|
|
H4sIAAAJbogA/1SOO5KDQAxE8zlFZ5tQXGCjjfYIjoURoPKgcY0E57f4VZlQXf2e+r8yOYbMZJhoZWRxz3wkCVjeReETS0VHz5fBCzpxxg/PbfrT/gacCjbjeiRNOChaVkA9RAdR8eVEw4vxa0Dcs3Fe2ZqowpeqG79L995l3VaMBUV/02OS+B6kMWikwG51c8n5GnEPr11F2/QJAAD//z9IppsHAQAA
|
|
`
|
|
|