May 2018 - Posts

Here's how to check and upgrade all your OpenWRT packages in one line opkg update && opkg upgrade `opkg list-upgradable | awk '{print ...
Read more...
Posted by chuacw | with no comments
Related articles:

In Go, there are a few ways to initialize a new struct. You can do this: varStruct := &StructName{} varStruct := StructName{} varStruct := StructName...
Read more...
Posted by chuacw | with no comments
Related articles: ,

There's multiple ways of declaring a variable in Go. You can do this: var VarName TypeName So, for example, var s string declares a variable s with...
Read more...
Posted by chuacw | with no comments
Related articles: ,

More Posts Next page »