code: func pad(align int) func(string, string, int) string {
  	padFunc := Pad
  	switch align {
  	case ALIGN_LEFT:
  		padFunc = PadRight
  	case ALIGN_RIGHT:
  		padFunc = PadLeft
  	}
  	return padFunc
  }
docs: // Return the PadRight function if align is left, PadLeft if align is right,
  // and Pad by default