code: func GetUsername() *string {
  	// user.Current only fails on some internal cache error: not sure what
  	// corrective action is appropriate... on failure return NULL.
  	if u, err := user.Current(); err == nil {
  		return &u.Username
  	}
  	return nil
  }
docs: // GetUsername returns the username of the current user.