generated from VLADIMIR/template
add load applications
This commit is contained in:
@@ -109,8 +109,9 @@ func mapKeys(o []*storytelling.Key) []*proto.Key {
|
||||
|
||||
func mapApplication(o *storytelling.Application) *proto.Application {
|
||||
return &proto.Application{
|
||||
Name: o.Name,
|
||||
Image: o.Image,
|
||||
Name: o.Name,
|
||||
Image: o.Image,
|
||||
FileType: o.FileType,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -167,8 +168,9 @@ func convertKeys(o []*proto.Key) []*storytelling.Key {
|
||||
|
||||
func convertApplication(o *proto.Application) *storytelling.Application {
|
||||
return &storytelling.Application{
|
||||
Name: textFormatter.FormatString(o.Name),
|
||||
Image: o.Image,
|
||||
Name: textFormatter.FormatString(o.Name),
|
||||
Image: o.Image,
|
||||
FileType: o.FileType,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user