Golang Generate Random String Python Functions Vs Methods