diff --git a/go.sum b/go.sum index 952c356..2fe3842 100644 --- a/go.sum +++ b/go.sum @@ -17,21 +17,16 @@ github.com/chromedp/sysutil v1.0.0/go.mod h1:kgWmDdq8fTzXYcKIBqIYvRRTnYb9aNS9moA github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/logex v1.2.1/go.mod h1:JLbx6lG2kDbNRFnfkgvh4eRJRPX1QCoOIWomwysCBrQ= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= -github.com/chzyer/readline v1.5.1 h1:upd/6fQk4src78LMRzh5vItIt361/o4uq553V8B5sGI= github.com/chzyer/readline v1.5.1/go.mod h1:Eh+b79XXUwfKfcPLepksvw2tcLE/Ct21YObkaSkeBlk= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= github.com/chzyer/test v1.0.0/go.mod h1:2JlltgoNkt4TW/z9V/IzDdFaMTM2JPIi26O1pF38GC8= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= -github.com/dave/dst v0.27.3 h1:P1HPoMza3cMEquVf9kKy8yXsFirry4zEnWOdYPOoIzY= -github.com/dave/dst v0.27.3/go.mod h1:jHh6EOibnHgcUW3WjKHisiooEkYwqpHLBSX1iOBhEyc= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dgraph-io/badger/v4 v4.5.0 h1:TeJE3I1pIWLBjYhIYCA1+uxrjWEoJXImFBMEBVSm16g= github.com/dgraph-io/badger/v4 v4.5.0/go.mod h1:ysgYmIeG8dS/E8kwxT7xHyc7MkmwNYLRoYnFbr7387A= -github.com/dgraph-io/ristretto/v2 v2.0.0 h1:l0yiSOtlJvc0otkqyMaDNysg8E9/F/TYZwMbxscNOAQ= -github.com/dgraph-io/ristretto/v2 v2.0.0/go.mod h1:FVFokF2dRqXyPyeMnK1YDy8Fc6aTe0IKgbcd03CYeEk= github.com/dgraph-io/ristretto/v2 v2.0.1 h1:7W0LfEP+USCmtrUjJsk+Jv2jbhJmb72N4yRI7GrLdMI= github.com/dgraph-io/ristretto/v2 v2.0.1/go.mod h1:K7caLeufSdxm+ITp1n/73U+VbFVAHrexfLbz4n14hpo= github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 h1:fAjc9m62+UWV/WAFKLNi6ZS0675eEUC9y3AlwSbQu1Y= @@ -58,8 +53,6 @@ github.com/gobwas/ws v1.4.0 h1:CTaoG1tojrh4ucGPcoJFiAQUAsEWekEWvLy7GsVNqGs= github.com/gobwas/ws v1.4.0/go.mod h1:G3gNqMNtPppf5XUz7O4shetPpcZ1VJ7zt18dlUeakrc= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= -github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 h1:f+oWsMOmNPc8JmEHVZIycC7hBoQxHH9pNKQORJNozsQ= github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8/go.mod h1:wcDNUvekVysuuOpQKo3191zZyTpiI6se1N1ULghS0sw= github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= @@ -72,8 +65,6 @@ github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:W github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= -github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= github.com/google/flatbuffers v24.3.25+incompatible h1:CX395cjN9Kke9mmalRoL3d81AtFUxJM+yDthflgJGkI= github.com/google/flatbuffers v24.3.25+incompatible/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= @@ -86,15 +77,11 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/pprof v0.0.0-20211214055906-6f57359322fd/go.mod h1:KgnwoLYCZ8IQu3XUZ8Nc/bM9CCZFOyjUNOSygVozoDg= github.com/google/pprof v0.0.0-20240227163752-401108e1b7e7/go.mod h1:czg5+yv1E0ZGTi6S6vVK1mke0fV+FaUhNGcd6VRS9Ik= -github.com/google/pprof v0.0.0-20241122213907-cbe949e5a41b h1:SXO0REt4iu865upYCk8aKBBJQ4BqoE0ReP23ClMu60s= -github.com/google/pprof v0.0.0-20241122213907-cbe949e5a41b/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144= github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad h1:a6HEuzUHeKH6hwfN/ZoQgRgVIWFJljSWa/zetS2WTvg= github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/ianlancetaylor/demangle v0.0.0-20210905161508-09a460cdf81d/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= github.com/ianlancetaylor/demangle v0.0.0-20230524184225-eabc099b10ab/go.mod h1:gx7rwoVhcfuVKG5uya9Hs3Sxj7EIvldVofAWIUtGouw= -github.com/ianlancetaylor/demangle v0.0.0-20240312041847-bd984b5ce465 h1:KwWnWVWCNtNq/ewIX7HIKnELmEx2nDP42yskD/pi7QE= -github.com/ianlancetaylor/demangle v0.0.0-20240312041847-bd984b5ce465/go.mod h1:gx7rwoVhcfuVKG5uya9Hs3Sxj7EIvldVofAWIUtGouw= github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0 h1:iQTw/8FWTuc7uiaSepXwyf3o52HaUYcV+Tu66S3F5GA= github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0/go.mod h1:1NbS8ALrpOvjt0rHPNLyCIeMtbizbir8U//inJ+zuB8= @@ -102,8 +89,6 @@ github.com/klauspost/compress v1.17.11 h1:In6xLpyWOi1+C7tXUUWv2ot1QvBjxevKAaI6IX github.com/klauspost/compress v1.17.11/go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90U12bZKk7uwG0= github.com/klauspost/cpuid/v2 v2.2.9 h1:66ze0taIn2H33fBvCkXuv9BmCwDfafmiIVpKV9kKGuY= github.com/klauspost/cpuid/v2 v2.2.9/go.mod h1:rqkxqrZ1EhYM9G+hXH7YdowN5R5RGN6NK4QwQ3WMXF8= -github.com/kopoli/go-terminal-size v0.0.0-20170219200355-5c97524c8b54 h1:0SMHxjkLKNawqUjjnMlCtEdj6uWZjv0+qDZ3F6GOADI= -github.com/kopoli/go-terminal-size v0.0.0-20170219200355-5c97524c8b54/go.mod h1:bm7MVZZvHQBfqHG5X59jrRE/3ak6HvK+/Zb6aZhLR2s= github.com/ledongthuc/pdf v0.0.0-20220302134840-0c2507a12d80/go.mod h1:imJHygn/1yfhB7XSJJKlFZKl/J+dCPAknuiaGOshXAs= github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= @@ -141,8 +126,6 @@ github.com/templexxx/xhex v0.0.0-20200614015412-aed53437177b h1:XeDLE6c9mzHpdv3W github.com/templexxx/xhex v0.0.0-20200614015412-aed53437177b/go.mod h1:7rwmCH0wC2fQvNEvPZ3sKXukhyCTyiaZ5VTZMQYpZKQ= github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw= github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= -github.com/valyala/fasthttp v1.57.0 h1:Xw8SjWGEP/+wAAgyy5XTvgrWlOD1+TxbbvNADYCm1Tg= -github.com/valyala/fasthttp v1.57.0/go.mod h1:h6ZBaPRlzpZ6O3H5t2gEk1Qi33+TmLvfwgLLp0t9CpE= github.com/valyala/fasthttp v1.58.0 h1:GGB2dWxSbEprU9j0iMJHgdKYJVDyjrOwF9RE59PbRuE= github.com/valyala/fasthttp v1.58.0/go.mod h1:SYXvHHaFp7QZHGKSHmoMipInhrI5StHrhDTYVEjK/Kw= github.com/xyproto/randomstring v1.0.5 h1:YtlWPoRdgMu3NZtP45drfy1GKoojuR7hmRcnhZqKjWU= @@ -157,8 +140,6 @@ golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPh golang.org/x/crypto v0.31.0 h1:ihbySMvVjLAeSH1IbfcRTkD/iNscyz8rGzjF/E5hV6U= golang.org/x/crypto v0.31.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp/typeparams v0.0.0-20241009180824-f66d83c29e7c h1:F/15/6p7LyGUSoP0GE5CB/U9+TNEER1foNOP5sWLLnI= -golang.org/x/exp/typeparams v0.0.0-20241009180824-f66d83c29e7c/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= golang.org/x/exp/typeparams v0.0.0-20241210194714-1829a127f884 h1:1xaZTydL5Gsg78QharTwKfA9FY9CZ1VQj6D/AZEvHR0= golang.org/x/exp/typeparams v0.0.0-20241210194714-1829a127f884/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -167,8 +148,6 @@ golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHl golang.org/x/lint v0.0.0-20241112194109-818c5a804067 h1:adDmSQyFTCiv19j015EGKJBoaa7ElV0Q1Wovb/4G7NA= golang.org/x/lint v0.0.0-20241112194109-818c5a804067/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.21.0 h1:vvrHzRwRfVKSiLrG+d4FMl/Qi4ukBCE6kZlTUkDYRT0= -golang.org/x/mod v0.21.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= golang.org/x/mod v0.22.0 h1:D4nJWe9zXqHOmWqj4VMOJhvzj7bEZg4wEYa759z1pH4= golang.org/x/mod v0.22.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -208,8 +187,6 @@ golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3 golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.26.0 h1:v/60pFQmzmT9ExmjDv2gGIfi3OqfKoEP6I5+umXlbnQ= -golang.org/x/tools v0.26.0/go.mod h1:TPVVj70c7JJ3WCazhD8OdXcZg/og+b9+tH/KxylGwH0= golang.org/x/tools v0.28.0 h1:WuB6qZ4RPCQo5aP3WdKZS7i595EdWqWR8vqJTlwTVK8= golang.org/x/tools v0.28.0/go.mod h1:dcIOrVd3mfQKTgrDVQHqCPMWy6lnhfhtX3hLXYVLfRw= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= diff --git a/ratel/countevents.go b/ratel/countevents.go index 451a044..5ed3a96 100644 --- a/ratel/countevents.go +++ b/ratel/countevents.go @@ -11,7 +11,7 @@ import ( "realy.lol/ratel/keys/serial" "realy.lol/sha256" "realy.lol/tag" - "realy.lol/ratel/keys/prefixes" + "realy.lol/ratel/prefixes" ) func (r *T) CountEvents(c cx, f *filter.T) (count no, approx bo, err er) { diff --git a/ratel/deleteevent.go b/ratel/deleteevent.go index 302d7ca..65a9526 100644 --- a/ratel/deleteevent.go +++ b/ratel/deleteevent.go @@ -12,7 +12,7 @@ import ( "realy.lol/ratel/keys/serial" "realy.lol/ratel/keys/tombstone" "realy.lol/timestamp" - "realy.lol/ratel/keys/prefixes" + "realy.lol/ratel/prefixes" ) func (r *T) DeleteEvent(c cx, eid *eventid.T) (err er) { diff --git a/ratel/export.go b/ratel/export.go index 86b771f..2d8c452 100644 --- a/ratel/export.go +++ b/ratel/export.go @@ -15,7 +15,7 @@ import ( "realy.lol/sha256" "realy.lol/tag" "realy.lol/tags" - "realy.lol/ratel/keys/prefixes" + "realy.lol/ratel/prefixes" ) func (r *T) Export(c cx, w io.Writer, pubkeys ...by) { diff --git a/ratel/gccount.go b/ratel/gccount.go index 2934c27..7a78070 100644 --- a/ratel/gccount.go +++ b/ratel/gccount.go @@ -15,7 +15,7 @@ import ( "realy.lol/sha256" "realy.lol/timestamp" "realy.lol/units" - "realy.lol/ratel/keys/prefixes" + "realy.lol/ratel/prefixes" ) const KeyLen = serial.Len + 1 diff --git a/ratel/gcsweep.go b/ratel/gcsweep.go index b7bf824..9ba19fd 100644 --- a/ratel/gcsweep.go +++ b/ratel/gcsweep.go @@ -8,7 +8,7 @@ import ( "realy.lol/event" "realy.lol/ratel/keys/serial" "realy.lol/sha256" - "realy.lol/ratel/keys/prefixes" + "realy.lol/ratel/prefixes" ) func (r *T) GCSweep(evs, idxs DelItems) (err er) { diff --git a/ratel/getecounterkey.go b/ratel/getecounterkey.go index cb18aa0..f22fc3b 100644 --- a/ratel/getecounterkey.go +++ b/ratel/getecounterkey.go @@ -2,7 +2,7 @@ package ratel import ( "realy.lol/ratel/keys/serial" - "realy.lol/ratel/keys/prefixes" + "realy.lol/ratel/prefixes" ) // GetCounterKey returns the proper counter key for a given event ID. diff --git a/ratel/getindexkeysforevent.go b/ratel/getindexkeysforevent.go index b9d326a..e3a1ce7 100644 --- a/ratel/getindexkeysforevent.go +++ b/ratel/getindexkeysforevent.go @@ -11,7 +11,7 @@ import ( "realy.lol/ratel/keys/pubkey" "realy.lol/ratel/keys/serial" "realy.lol/tag" - "realy.lol/ratel/keys/prefixes" + "realy.lol/ratel/prefixes" ) // GetIndexKeysForEvent generates all the index keys required to filter for diff --git a/ratel/gettagkeyelements.go b/ratel/gettagkeyelements.go index e37ce65..23b5643 100644 --- a/ratel/gettagkeyelements.go +++ b/ratel/gettagkeyelements.go @@ -13,7 +13,7 @@ import ( "realy.lol/ratel/keys/kinder" "realy.lol/ratel/keys/pubkey" "realy.lol/ratel/keys/serial" - "realy.lol/ratel/keys/prefixes" + "realy.lol/ratel/prefixes" ) func GetTagKeyElements(tagKey, tagValue st, CA *createdat.T, diff --git a/ratel/gettagkeyprefix.go b/ratel/gettagkeyprefix.go index 0555424..daad8d3 100644 --- a/ratel/gettagkeyprefix.go +++ b/ratel/gettagkeyprefix.go @@ -7,7 +7,7 @@ import ( "realy.lol/ratel/keys/kinder" "realy.lol/ratel/keys/pubkey" eventstore "realy.lol/store" - "realy.lol/ratel/keys/prefixes" + "realy.lol/ratel/prefixes" ) // GetTagKeyPrefix returns tag index prefixes based on the initial field of a diff --git a/ratel/graph/main.go b/ratel/graph/main.go new file mode 100644 index 0000000..e103ddd --- /dev/null +++ b/ratel/graph/main.go @@ -0,0 +1 @@ +package graph diff --git a/ratel/graph/util.go b/ratel/graph/util.go new file mode 100644 index 0000000..2b03916 --- /dev/null +++ b/ratel/graph/util.go @@ -0,0 +1,22 @@ +package graph + +import ( + "bytes" + + "realy.lol/context" + "realy.lol/lol" +) + +type ( + bo = bool + by = []byte + st = string + er = error + no = int + cx = context.T +) + +var ( + log, chk, errorf = lol.Main.Log, lol.Main.Check, lol.Main.Errorf + equals = bytes.Equal +) diff --git a/ratel/init.go b/ratel/init.go index e4f2841..fcefa4a 100644 --- a/ratel/init.go +++ b/ratel/init.go @@ -9,7 +9,7 @@ import ( "github.com/dgraph-io/badger/v4/options" "realy.lol/units" - "realy.lol/ratel/keys/prefixes" + "realy.lol/ratel/prefixes" ) func (r *T) Init(path st) (err er) { diff --git a/ratel/keys/keys_test.go b/ratel/keys/keys_test.go index adcc5a5..254731e 100644 --- a/ratel/keys/keys_test.go +++ b/ratel/keys/keys_test.go @@ -20,7 +20,7 @@ import ( "realy.lol/ratel/keys/pubkey" "realy.lol/ratel/keys/serial" "realy.lol/timestamp" - "realy.lol/ratel/keys/prefixes" + "realy.lol/ratel/prefixes" ) func TestElement(t *testing.T) { diff --git a/ratel/main.go b/ratel/main.go index 742783b..0cd7c14 100644 --- a/ratel/main.go +++ b/ratel/main.go @@ -10,7 +10,7 @@ import ( "realy.lol/ratel/keys/serial" "realy.lol/store" "realy.lol/units" - "realy.lol/ratel/keys/prefixes" + "realy.lol/ratel/prefixes" ) const DefaultMaxLimit = 512 diff --git a/ratel/nuke.go b/ratel/nuke.go index cea31c1..850dc48 100644 --- a/ratel/nuke.go +++ b/ratel/nuke.go @@ -1,7 +1,7 @@ package ratel import ( - "realy.lol/ratel/keys/prefixes" + "realy.lol/ratel/prefixes" ) func (r *T) Nuke() (err er) { diff --git a/ratel/keys/prefixes/index_test.go b/ratel/prefixes/index_test.go similarity index 100% rename from ratel/keys/prefixes/index_test.go rename to ratel/prefixes/index_test.go diff --git a/ratel/keys/prefixes/prefixes.go b/ratel/prefixes/prefixes.go similarity index 100% rename from ratel/keys/prefixes/prefixes.go rename to ratel/prefixes/prefixes.go diff --git a/ratel/keys/prefixes/util.go b/ratel/prefixes/util.go similarity index 100% rename from ratel/keys/prefixes/util.go rename to ratel/prefixes/util.go diff --git a/ratel/preparequeries.go b/ratel/preparequeries.go index 43bed2a..0e023c1 100644 --- a/ratel/preparequeries.go +++ b/ratel/preparequeries.go @@ -13,7 +13,7 @@ import ( "realy.lol/ratel/keys/pubkey" "realy.lol/ratel/keys/serial" "realy.lol/timestamp" - "realy.lol/ratel/keys/prefixes" + "realy.lol/ratel/prefixes" ) type Results struct { diff --git a/ratel/queryevents.go b/ratel/queryevents.go index da4d592..cda8374 100644 --- a/ratel/queryevents.go +++ b/ratel/queryevents.go @@ -15,7 +15,7 @@ import ( "realy.lol/sha256" "realy.lol/tag" "realy.lol/timestamp" - "realy.lol/ratel/keys/prefixes" + "realy.lol/ratel/prefixes" ) func (r *T) QueryEvents(c cx, f *filter.T) (evs event.Ts, err er) { diff --git a/ratel/saveevent.go b/ratel/saveevent.go index ef47c71..9bf8195 100644 --- a/ratel/saveevent.go +++ b/ratel/saveevent.go @@ -13,7 +13,7 @@ import ( "realy.lol/sha256" eventstore "realy.lol/store" "realy.lol/timestamp" - "realy.lol/ratel/keys/prefixes" + "realy.lol/ratel/prefixes" ) func (r *T) SaveEvent(c cx, ev *event.T) (err er) { diff --git a/realy/version b/realy/version index b06a074..834d3d5 100644 --- a/realy/version +++ b/realy/version @@ -1 +1 @@ -v1.24.12.15.0 \ No newline at end of file +v1.24.12.15.1 \ No newline at end of file