feat: implement core backend architecture and project management services for the History API
Build and Release / release (push) Successful in 1m33s
Build and Release / release (push) Successful in 1m33s
This commit is contained in:
@@ -52,10 +52,10 @@ func (g *GeometryEntity) ToResponse() *response.GeometryResponse {
|
||||
}
|
||||
|
||||
func GeometriesEntityToResponse(gs []*GeometryEntity) []*response.GeometryResponse {
|
||||
out := make([]*response.GeometryResponse, 0)
|
||||
if gs == nil {
|
||||
return out
|
||||
return []*response.GeometryResponse{}
|
||||
}
|
||||
out := make([]*response.GeometryResponse, 0, len(gs))
|
||||
for _, g := range gs {
|
||||
if g == nil {
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user