Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in go

Difference between := and = operators in Go

go

Checking the equality of two slices

go go-reflect

What is the best way to test for an empty string in Go?

string go is-empty

How to generate a random string of a fixed length in Go?

string random go

Iterating over all the keys of a map

loops dictionary go

Does Go have "if x in" construct similar to Python?

if-statement go

Function declaration syntax: things in parenthesis before function name

go

How to multiply duration by integer?

go time

What should be the values of GOPATH and GOROOT?

go gopath

Pointers vs. values in parameters and return values

pointers go

What is the idiomatic Go equivalent of C's ternary operator?

When is the init() function run?

go init

Reading a file line by line in Go

string file parsing go line

How to assign string to bytes array

go

Format a Go string without printing?

How to find the type of an object in Go?

go go-reflect

What are the use(s) for tags in Go?

go struct reflection tags

How can I convert a zero-terminated byte array to string?

go

How to print struct variables in console?

struct go

How to check if a file exists in Go?

file go standard-library