// Package maps holds functions that interact with the maps package maps import "git.stinnesbeck.com/nils/artifacts/api" // GetAll will try to retrieve all map tiles func GetAll() ([]Map, error) { // these are the possible response codes, other than 200 OK responseCodes := map[int]string{ 404: "Maps not found.", } return api.Get[[]Map]("/maps/", responseCodes) }