fork of indigo with slightly nicer lexgen

remove unused code

Changed files
+1 -8
atproto
identity
apidir
repo
syntax
-5
atproto/identity/apidir/apidir.go
··· 40 40 DID syntax.DID `json:"did"` 41 41 } 42 42 43 - type errorBody struct { 44 - Name string `json:"error"` 45 - Message string `json:"message,omitempty"` 46 - } 47 - 48 43 func NewAPIDirectory(host string) APIDirectory { 49 44 return APIDirectory{ 50 45 Client: &http.Client{
+1 -2
atproto/repo/mst/mst_interop_test.go
··· 104 104 } 105 105 106 106 func TestInteropKnownMapsTricky(t *testing.T) { 107 + t.Skip("TODO: these are currently disallowed in typescript implementation") 107 108 assert := assert.New(t) 108 - 109 - t.Skip("TODO: these are currently disallowed in typescript implementation") 110 109 111 110 cid1str := "bafyreie5cvv4h45feadgeuwhbcutmh6t2ceseocckahdoe6uat64zmz454" 112 111
-1
atproto/syntax/did.go
··· 14 14 type DID string 15 15 16 16 var didRegex = regexp.MustCompile(`^did:[a-z]+:[a-zA-Z0-9._:%-]*[a-zA-Z0-9._-]$`) 17 - var plcChars = "" 18 17 19 18 func isASCIIAlphaNum(c rune) bool { 20 19 if (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || (c >= '0' && c <= '9') {