aboutsummaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
Diffstat (limited to 'models')
-rw-r--r--models/models.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/models.go b/models/models.go
index e7325d25..820bc3fa 100644
--- a/models/models.go
+++ b/models/models.go
@@ -142,7 +142,7 @@ type BodyStructure struct {
DispositionParams map[string]string
}
-//PartAtIndex returns the BodyStructure at the requested index
+// PartAtIndex returns the BodyStructure at the requested index
func (bs *BodyStructure) PartAtIndex(index []int) (*BodyStructure, error) {
if len(index) == 0 {
return bs, nil