Some function can be minimized and should be follow golint
Some function can be minimized and should be follow golint