Documentation ¶
Index ¶
Constants ¶
View Source
const ( // TestDigest is a valid digest. // // This matches TestData. TestDigest = "b1-gLO3B_5ClhdU52w1gMOxk4GokvCoM1OqjarxMfjStGQ=" // TestModuleReferenceFooBarV1String is a valid module reference string. TestModuleReferenceFooBarV1String = "buf.build/foob/bar:v1" // TestModuleReferenceFooBarV2String is a valid module reference string. TestModuleReferenceFooBarV2String = "buf.build/foob/bar:v2" // TestModuleReferenceFooBazV1String is a valid module reference string. TestModuleReferenceFooBazV1String = "buf.build/foob/baz:v1" // TestModuleReferenceFooBazV2String is a valid module reference string. TestModuleReferenceFooBazV2String = "buf.build/foob/baz:v2" )
Variables ¶
View Source
var ( // TestData is the data that maps to TestDigest with TestModuleReferenceString. TestData = map[string][]byte{ "file1.proto": []byte(`syntax="proto3";`), "folder/file2.proto": []byte(`syntax="proto3";`), } // TestCommit is a valid commit. TestCommit string // TestModuleReferenceFooBarCommitString is a valid module reference string. TestModuleReferenceFooBarCommitString string // TestModuleReferenceFooBazCommitString is a valid module reference string. TestModuleReferenceFooBazCommitString string )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.