github.com/mlmmr/revel-cmd@v0.21.2-0.20191112133115-68d8795776dd/model/embedded_type_name.go (about) 1 package model 2 3 // The embedded type name takes the import path and structure name 4 type EmbeddedTypeName struct { 5 ImportPath, StructName string 6 } 7 8 // Convert the type to a properly formatted import line 9 func (s *EmbeddedTypeName) String() string { 10 return s.ImportPath + "." + s.StructName 11 }