Mini Library to keep track of all known PSP Entry types. Definitions are stored in types.csv
import pspentrytype "github.com/Mimoja/PSP-Entry-Types"
import "encoding/json"
import "os"
var AMDPSPDirectoryEntries = pspentrytype.Types()
func main(){
enc := json.NewEncoder(os.stdout)
enc.setIndent("", " ")
for _, knownType := range AMDPSPDirectoryEntries {
enc.Encode(knownType)
}
}
pip3 install git+https://github.com/Mimoja/PSP-Entry-Types.git@master
then
import pspEntries
pspEntries.getEntries()