func RemoveNonImagePosts(memes []models.Meme) []models.Meme {
	var onlyImagePosts []models.Meme
	for _, meme := range memes {
		url := meme.URL
		if url[len(url)-4:] == ".jpg" || url[len(url)-4:] == ".png" || url[len(url)-4:] == ".gif" {
			onlyImagePosts = append(onlyImagePosts, meme)
		}
	}
	return onlyImagePosts
}
RemoveNonImagePosts : Remove all posts from Memes List that doesn't end with '.jpg' or '.png'
package utils
import (
	"math/rand"
	"time"
	"Meme_Api/models"
)
func GetRandomN(n int) (num int) {
	rand.Seed(time.Now().Unix())
	num = rand.Int() % n
	return
}