Array of objects in Crystal
Beginner question: How to make an Array of objects from a Struct in Crystal? Or how to make an array of objects in Crystal? I am trying to emulate the go code. struct Book def initialize( @Id : Int32, @Title : String, @Author : String, @Desc : String ) end end books = [] of… Read More Array of objects in Crystal