Debian Codegraph @

age/age.go

raw symbols SCIP
1 // Package agetest embeds the age test vectors for use by Go programs.
2 package agetest
3
4 import (
5 "embed"
6 "io/fs"
7 )
8
9 // Vectors contains all the generated test vectors, one per file,
10 // in the root of the filesystem.
11 var Vectors fs.FS
12
13 //go:embed testdata
14 var testdata embed.FS
15
16 func init() {
17 var err error
18 Vectors, err = fs.Sub(testdata, "testdata")
19 if err != nil {
20 panic(err)
21 }
22 }