This ‘Season’ type can be used like any other type in go, but with limited allowed values.
Continue reading “Enum type in Go”Define a 404 fallback image in an Angular component
Try to load an image, but if it doesn’t exist instead load another image.
Continue reading “Define a 404 fallback image in an Angular component”How to create a responsive square image with CSS
Create a responsive square element containing an image using ::after pseudo class.
Continue reading “How to create a responsive square image with CSS”Populate Golang relationship field using MongoDB Aggregate and $lookup
Replace the relationship ID with the data object that it references.
Continue reading “Populate Golang relationship field using MongoDB Aggregate and $lookup”Check if Golang interface is a slice
This function returns true if the given interface is a slice, otherwise it returns false.
Continue reading “Check if Golang interface is a slice”