move parseFormat to formater.go