func (sc *SiteCollection) Clear() {
	sc.list = sc.list[:0]
}
Clear empties the list of sites
package magopie
import (
	"encoding/json"
	"fmt"
)
type Site struct {
	ID      string
	Name    string
	URL     string
	Enabled bool
}
type SiteCollection struct {
	list []Site
}
func (sc *SiteCollection) Length() int {
	return len(sc.list)
}
func (sc *SiteCollection) Get(idx int) *Site {
	if idx <= sc.Length() {
		return &sc.list[idx]
	}
	return nil
}