Go Official Driver

I am building a custom app for integrating our ERP software with Mattermost ahead of deployment to my company. I have gotten messages returning as I expect on mentioned code words. For example order #9999 returns basic details of that order back to the channel that ‘order #9999’ is mentioned in. I want to format this return data as a formatted Message Attachment. I am finding it impossible to understand how to do this. I started with the Go Bot sample project and built upon that. I would appreciate some guidance. Thanks!