How to use 'time.After' and 'default' in Golang

My computer develop environment

1
2
3
4
5
6
$ sw_vers 
ProductName: Mac OS X
ProductVersion: 10.12.3

$ go version
go version go1.11.1 darwin/amd64

Read More

Share

Omitmepty in Golang

My computer develop environment

1
2
3
4
5
6
7
$ sw_vers 
ProductName: Mac OS X
ProductVersion: 10.12.6
BuildVersion: 16G29

$ go version
go version go1.8.3 darwin/amd64

Read More

Share

Golang meet 'float64bits redeclared in this block'

My computer develop environment

1
2
3
4
5
$ cat /etc/issue
Ubuntu 14.04 LTS

$ go version
go version go1.8 linux/amd64

Read More

Share

How to push multi repositories in same project

My computer develop environment

1
2
3
4
5
6
7
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.12.3
BuildVersion: 16D30

$ git --version
git version 2.18.0

Read More

Share

How to upload a picture url's content by form POST without local storage in Golang

Server environment

1
2
3
4
5
$ cat /etc/issue
Ubuntu 16.04 LTS

# go version
go version go1.8.4 linux/amd64

Read More

Share