github.com/dzsibi/gophish@v0.7.1-0.20190719042945-1f16c7237d0d/models/attachment.go (about) 1 package models 2 3 // Attachment contains the fields and methods for 4 // an email attachment 5 type Attachment struct { 6 Id int64 `json:"-"` 7 TemplateId int64 `json:"-"` 8 Content string `json:"content"` 9 Type string `json:"type"` 10 Name string `json:"name"` 11 }