Repository
1
package main
2
3
// Base Repository "class"
4
5
type RepositoryInfo struct {
6
    Name string
7
    Path string
8
}
9
10
type Repository interface {
11
    GetName() string
12
    GetPath() string
13
    GetFile(id string) []byte
14
    GetFileExists(id string) bool
15
}