csdb

package
v0.0.0-...-8679fc6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const ReleasesUsedFile = "releases.json.gz"

Variables

View Source
var Releases = make([]Release, 0)

Functions

func ReadReleases

func ReadReleases()

func ReleasesPath

func ReleasesPath() string

Types

type ByDate

type ByDate []Release

func (ByDate) Len

func (s ByDate) Len() int

func (ByDate) Less

func (s ByDate) Less(i, j int) bool

func (ByDate) Swap

func (s ByDate) Swap(i, j int)

type Release

type Release struct {
	ID     int      `json:"id"`
	Type   string   `json:"type"`
	Name   string   `json:"name"`
	Date   string   `json:"date"`
	Groups []string `json:"groups"`
	SIDs   []string `json:"sids"`
	// contains filtered or unexported fields
}

func ReadReleaseXML

func ReadReleaseXML(path string) *Release

func (*Release) URL

func (r *Release) URL() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL