diff --git a/pub/README.md b/pub/README.md index 22fea31..5fb1f89 100644 --- a/pub/README.md +++ b/pub/README.md @@ -176,7 +176,7 @@ implementation is very straightforward to make. Other interfaces such as `Typer` and `PubObject` are meant to limit modification scope or require minimal ActivityStream compatibility to be used by this -library. As long as the `go-fed/activity/vocab` or `go-fed/activity/streams` +library. As long as the `go-fed/activity/vocab` or `go-fed/activity/streams_old` packages are being used, these interfaces will be natively supported. ## Other Considerations diff --git a/pub/callbacker_extensions.go b/pub/callbacker_extensions.go index 2b73428..6b28756 100644 --- a/pub/callbacker_extensions.go +++ b/pub/callbacker_extensions.go @@ -2,7 +2,7 @@ package pub import ( "context" - "github.com/go-fed/activity/streams" + "github.com/go-fed/activity/streams_old" ) type callbackerAnnounce interface { diff --git a/pub/fed.go b/pub/fed.go index 1e350cb..c203116 100644 --- a/pub/fed.go +++ b/pub/fed.go @@ -5,7 +5,7 @@ import ( "encoding/json" "errors" "fmt" - "github.com/go-fed/activity/streams" + "github.com/go-fed/activity/streams_old" "github.com/go-fed/activity/vocab" "github.com/go-fed/httpsig" "io/ioutil" diff --git a/pub/fed_test.go b/pub/fed_test.go index f873f8d..1e6e140 100644 --- a/pub/fed_test.go +++ b/pub/fed_test.go @@ -9,7 +9,7 @@ import ( "encoding/json" "errors" "fmt" - "github.com/go-fed/activity/streams" + "github.com/go-fed/activity/streams_old" "github.com/go-fed/activity/vocab" "github.com/go-fed/httpsig" "io/ioutil" diff --git a/pub/interfaces.go b/pub/interfaces.go index d74f0be..5d69643 100644 --- a/pub/interfaces.go +++ b/pub/interfaces.go @@ -3,7 +3,7 @@ package pub import ( "context" "crypto" - "github.com/go-fed/activity/streams" + "github.com/go-fed/activity/streams_old" "github.com/go-fed/activity/vocab" "github.com/go-fed/httpsig" "net/http" diff --git a/pub/internal.go b/pub/internal.go index 5294108..db61305 100644 --- a/pub/internal.go +++ b/pub/internal.go @@ -8,7 +8,7 @@ import ( "encoding/base64" "encoding/json" "fmt" - "github.com/go-fed/activity/streams" + "github.com/go-fed/activity/streams_old" "github.com/go-fed/activity/vocab" "github.com/go-fed/httpsig" "io/ioutil" diff --git a/pub/resolvers.go b/pub/resolvers.go index f731880..aeab920 100644 --- a/pub/resolvers.go +++ b/pub/resolvers.go @@ -2,7 +2,7 @@ package pub import ( "fmt" - "github.com/go-fed/activity/streams" + "github.com/go-fed/activity/streams_old" "github.com/go-fed/activity/vocab" "net/url" ) diff --git a/streams/README.md b/streams_old/README.md similarity index 100% rename from streams/README.md rename to streams_old/README.md diff --git a/streams/gen_accept.go b/streams_old/gen_accept.go similarity index 99% rename from streams/gen_accept.go rename to streams_old/gen_accept.go index dde1c20..3cd6e54 100644 --- a/streams/gen_accept.go +++ b/streams_old/gen_accept.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_activity.go b/streams_old/gen_activity.go similarity index 99% rename from streams/gen_activity.go rename to streams_old/gen_activity.go index 37e4a6f..d6f6551 100644 --- a/streams/gen_activity.go +++ b/streams_old/gen_activity.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_add.go b/streams_old/gen_add.go similarity index 99% rename from streams/gen_add.go rename to streams_old/gen_add.go index 9214612..8b452c2 100644 --- a/streams/gen_add.go +++ b/streams_old/gen_add.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_announce.go b/streams_old/gen_announce.go similarity index 99% rename from streams/gen_announce.go rename to streams_old/gen_announce.go index f80280e..5e439cb 100644 --- a/streams/gen_announce.go +++ b/streams_old/gen_announce.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_application.go b/streams_old/gen_application.go similarity index 99% rename from streams/gen_application.go rename to streams_old/gen_application.go index b80c1c4..93c50d5 100644 --- a/streams/gen_application.go +++ b/streams_old/gen_application.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_arrive.go b/streams_old/gen_arrive.go similarity index 99% rename from streams/gen_arrive.go rename to streams_old/gen_arrive.go index 042fa39..27b9661 100644 --- a/streams/gen_arrive.go +++ b/streams_old/gen_arrive.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_article.go b/streams_old/gen_article.go similarity index 99% rename from streams/gen_article.go rename to streams_old/gen_article.go index c33d39b..12fe584 100644 --- a/streams/gen_article.go +++ b/streams_old/gen_article.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_audio.go b/streams_old/gen_audio.go similarity index 99% rename from streams/gen_audio.go rename to streams_old/gen_audio.go index 297cff4..9e598f0 100644 --- a/streams/gen_audio.go +++ b/streams_old/gen_audio.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_block.go b/streams_old/gen_block.go similarity index 99% rename from streams/gen_block.go rename to streams_old/gen_block.go index 361e081..b5938c5 100644 --- a/streams/gen_block.go +++ b/streams_old/gen_block.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_collection.go b/streams_old/gen_collection.go similarity index 99% rename from streams/gen_collection.go rename to streams_old/gen_collection.go index 44e6b8a..84dc6cf 100644 --- a/streams/gen_collection.go +++ b/streams_old/gen_collection.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_collectionpage.go b/streams_old/gen_collectionpage.go similarity index 99% rename from streams/gen_collectionpage.go rename to streams_old/gen_collectionpage.go index 8006516..1fbb869 100644 --- a/streams/gen_collectionpage.go +++ b/streams_old/gen_collectionpage.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_create.go b/streams_old/gen_create.go similarity index 99% rename from streams/gen_create.go rename to streams_old/gen_create.go index 92ff1d2..b3abab8 100644 --- a/streams/gen_create.go +++ b/streams_old/gen_create.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_delete.go b/streams_old/gen_delete.go similarity index 99% rename from streams/gen_delete.go rename to streams_old/gen_delete.go index e628e36..c9819d6 100644 --- a/streams/gen_delete.go +++ b/streams_old/gen_delete.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_dislike.go b/streams_old/gen_dislike.go similarity index 99% rename from streams/gen_dislike.go rename to streams_old/gen_dislike.go index 7bf31be..cc805ee 100644 --- a/streams/gen_dislike.go +++ b/streams_old/gen_dislike.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_document.go b/streams_old/gen_document.go similarity index 99% rename from streams/gen_document.go rename to streams_old/gen_document.go index 28227f5..1f3586d 100644 --- a/streams/gen_document.go +++ b/streams_old/gen_document.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_event.go b/streams_old/gen_event.go similarity index 99% rename from streams/gen_event.go rename to streams_old/gen_event.go index 9d7e4b8..345abf5 100644 --- a/streams/gen_event.go +++ b/streams_old/gen_event.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_flag.go b/streams_old/gen_flag.go similarity index 99% rename from streams/gen_flag.go rename to streams_old/gen_flag.go index 07327f6..1d7553c 100644 --- a/streams/gen_flag.go +++ b/streams_old/gen_flag.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_follow.go b/streams_old/gen_follow.go similarity index 99% rename from streams/gen_follow.go rename to streams_old/gen_follow.go index e620cd3..ca216de 100644 --- a/streams/gen_follow.go +++ b/streams_old/gen_follow.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_group.go b/streams_old/gen_group.go similarity index 99% rename from streams/gen_group.go rename to streams_old/gen_group.go index 8eabac8..b3b6f45 100644 --- a/streams/gen_group.go +++ b/streams_old/gen_group.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_ignore.go b/streams_old/gen_ignore.go similarity index 99% rename from streams/gen_ignore.go rename to streams_old/gen_ignore.go index e192df4..c7b6315 100644 --- a/streams/gen_ignore.go +++ b/streams_old/gen_ignore.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_image.go b/streams_old/gen_image.go similarity index 99% rename from streams/gen_image.go rename to streams_old/gen_image.go index a68a8f4..0501f7b 100644 --- a/streams/gen_image.go +++ b/streams_old/gen_image.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_intransitiveactivity.go b/streams_old/gen_intransitiveactivity.go similarity index 99% rename from streams/gen_intransitiveactivity.go rename to streams_old/gen_intransitiveactivity.go index 6fed514..545d0ec 100644 --- a/streams/gen_intransitiveactivity.go +++ b/streams_old/gen_intransitiveactivity.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_invite.go b/streams_old/gen_invite.go similarity index 99% rename from streams/gen_invite.go rename to streams_old/gen_invite.go index 1928de5..287434d 100644 --- a/streams/gen_invite.go +++ b/streams_old/gen_invite.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_join.go b/streams_old/gen_join.go similarity index 99% rename from streams/gen_join.go rename to streams_old/gen_join.go index 9b6c7b3..153f996 100644 --- a/streams/gen_join.go +++ b/streams_old/gen_join.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_leave.go b/streams_old/gen_leave.go similarity index 99% rename from streams/gen_leave.go rename to streams_old/gen_leave.go index 29c6c54..5458bb1 100644 --- a/streams/gen_leave.go +++ b/streams_old/gen_leave.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_like.go b/streams_old/gen_like.go similarity index 99% rename from streams/gen_like.go rename to streams_old/gen_like.go index 4af52aa..60c0891 100644 --- a/streams/gen_like.go +++ b/streams_old/gen_like.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_link.go b/streams_old/gen_link.go similarity index 99% rename from streams/gen_link.go rename to streams_old/gen_link.go index 3ff4210..6e959ee 100644 --- a/streams/gen_link.go +++ b/streams_old/gen_link.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_listen.go b/streams_old/gen_listen.go similarity index 99% rename from streams/gen_listen.go rename to streams_old/gen_listen.go index c6d17fe..872a594 100644 --- a/streams/gen_listen.go +++ b/streams_old/gen_listen.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_mention.go b/streams_old/gen_mention.go similarity index 99% rename from streams/gen_mention.go rename to streams_old/gen_mention.go index fe7d7e3..248942e 100644 --- a/streams/gen_mention.go +++ b/streams_old/gen_mention.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_move.go b/streams_old/gen_move.go similarity index 99% rename from streams/gen_move.go rename to streams_old/gen_move.go index ac26fb7..4423716 100644 --- a/streams/gen_move.go +++ b/streams_old/gen_move.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_note.go b/streams_old/gen_note.go similarity index 99% rename from streams/gen_note.go rename to streams_old/gen_note.go index d0580b1..95067fb 100644 --- a/streams/gen_note.go +++ b/streams_old/gen_note.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_object.go b/streams_old/gen_object.go similarity index 99% rename from streams/gen_object.go rename to streams_old/gen_object.go index 185f42d..cffc804 100644 --- a/streams/gen_object.go +++ b/streams_old/gen_object.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_offer.go b/streams_old/gen_offer.go similarity index 99% rename from streams/gen_offer.go rename to streams_old/gen_offer.go index 2dd56bd..1dbd352 100644 --- a/streams/gen_offer.go +++ b/streams_old/gen_offer.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_orderedcollection.go b/streams_old/gen_orderedcollection.go similarity index 99% rename from streams/gen_orderedcollection.go rename to streams_old/gen_orderedcollection.go index e025879..a37ad5a 100644 --- a/streams/gen_orderedcollection.go +++ b/streams_old/gen_orderedcollection.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_orderedcollectionpage.go b/streams_old/gen_orderedcollectionpage.go similarity index 99% rename from streams/gen_orderedcollectionpage.go rename to streams_old/gen_orderedcollectionpage.go index e7ab4ad..89249b6 100644 --- a/streams/gen_orderedcollectionpage.go +++ b/streams_old/gen_orderedcollectionpage.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_organization.go b/streams_old/gen_organization.go similarity index 99% rename from streams/gen_organization.go rename to streams_old/gen_organization.go index cb8145b..d369cc5 100644 --- a/streams/gen_organization.go +++ b/streams_old/gen_organization.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_page.go b/streams_old/gen_page.go similarity index 99% rename from streams/gen_page.go rename to streams_old/gen_page.go index a0baba8..1e77265 100644 --- a/streams/gen_page.go +++ b/streams_old/gen_page.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_person.go b/streams_old/gen_person.go similarity index 99% rename from streams/gen_person.go rename to streams_old/gen_person.go index affebae..6d6d945 100644 --- a/streams/gen_person.go +++ b/streams_old/gen_person.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_place.go b/streams_old/gen_place.go similarity index 99% rename from streams/gen_place.go rename to streams_old/gen_place.go index bb881df..1b8b718 100644 --- a/streams/gen_place.go +++ b/streams_old/gen_place.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_profile.go b/streams_old/gen_profile.go similarity index 99% rename from streams/gen_profile.go rename to streams_old/gen_profile.go index c958812..3840947 100644 --- a/streams/gen_profile.go +++ b/streams_old/gen_profile.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_question.go b/streams_old/gen_question.go similarity index 99% rename from streams/gen_question.go rename to streams_old/gen_question.go index a14a9eb..a3786bf 100644 --- a/streams/gen_question.go +++ b/streams_old/gen_question.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_read.go b/streams_old/gen_read.go similarity index 99% rename from streams/gen_read.go rename to streams_old/gen_read.go index 892d063..eba908b 100644 --- a/streams/gen_read.go +++ b/streams_old/gen_read.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_reject.go b/streams_old/gen_reject.go similarity index 99% rename from streams/gen_reject.go rename to streams_old/gen_reject.go index 157e445..57fdf63 100644 --- a/streams/gen_reject.go +++ b/streams_old/gen_reject.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_relationship.go b/streams_old/gen_relationship.go similarity index 99% rename from streams/gen_relationship.go rename to streams_old/gen_relationship.go index 628cfe3..3a4ed41 100644 --- a/streams/gen_relationship.go +++ b/streams_old/gen_relationship.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_remove.go b/streams_old/gen_remove.go similarity index 99% rename from streams/gen_remove.go rename to streams_old/gen_remove.go index cf72e2e..86e3184 100644 --- a/streams/gen_remove.go +++ b/streams_old/gen_remove.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_service.go b/streams_old/gen_service.go similarity index 99% rename from streams/gen_service.go rename to streams_old/gen_service.go index fd76c24..0a72a2e 100644 --- a/streams/gen_service.go +++ b/streams_old/gen_service.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_streams.go b/streams_old/gen_streams.go similarity index 99% rename from streams/gen_streams.go rename to streams_old/gen_streams.go index 5434b55..2780d00 100644 --- a/streams/gen_streams.go +++ b/streams_old/gen_streams.go @@ -1,5 +1,5 @@ // Package streams is a convenience wrapper around the raw ActivityStream vocabulary. This package is code-generated to permit more powerful expressions and manipulations of the ActivityStreams Vocabulary types. This package also does not permit use of 'unknown' properties, or those that are outside of the ActivityStream Vocabulary specification. However, it still correctly propagates them when repeatedly re-and-de-serialized. Custom extensions of the vocabulary are supported by modifying the data definitions in the generation tool and rerunning it. Do not modify this package directly. -package streams +package streams_old import ( "fmt" diff --git a/streams/gen_tentativeaccept.go b/streams_old/gen_tentativeaccept.go similarity index 99% rename from streams/gen_tentativeaccept.go rename to streams_old/gen_tentativeaccept.go index e032235..6659bda 100644 --- a/streams/gen_tentativeaccept.go +++ b/streams_old/gen_tentativeaccept.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_tentativereject.go b/streams_old/gen_tentativereject.go similarity index 99% rename from streams/gen_tentativereject.go rename to streams_old/gen_tentativereject.go index f08a7bd..8824c6f 100644 --- a/streams/gen_tentativereject.go +++ b/streams_old/gen_tentativereject.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_tombstone.go b/streams_old/gen_tombstone.go similarity index 99% rename from streams/gen_tombstone.go rename to streams_old/gen_tombstone.go index 4dbdea1..5f12a2d 100644 --- a/streams/gen_tombstone.go +++ b/streams_old/gen_tombstone.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_travel.go b/streams_old/gen_travel.go similarity index 99% rename from streams/gen_travel.go rename to streams_old/gen_travel.go index d9e6d22..9c9e4a3 100644 --- a/streams/gen_travel.go +++ b/streams_old/gen_travel.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_undo.go b/streams_old/gen_undo.go similarity index 99% rename from streams/gen_undo.go rename to streams_old/gen_undo.go index ed608ce..8ab76bd 100644 --- a/streams/gen_undo.go +++ b/streams_old/gen_undo.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_update.go b/streams_old/gen_update.go similarity index 99% rename from streams/gen_update.go rename to streams_old/gen_update.go index 9a3048d..d50a4e4 100644 --- a/streams/gen_update.go +++ b/streams_old/gen_update.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_video.go b/streams_old/gen_video.go similarity index 99% rename from streams/gen_video.go rename to streams_old/gen_video.go index 780fe8e..0da4fc8 100644 --- a/streams/gen_video.go +++ b/streams_old/gen_video.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/gen_view.go b/streams_old/gen_view.go similarity index 99% rename from streams/gen_view.go rename to streams_old/gen_view.go index d79fc24..57ef06f 100644 --- a/streams/gen_view.go +++ b/streams_old/gen_view.go @@ -1,5 +1,5 @@ // -package streams +package streams_old import ( "github.com/go-fed/activity/vocab" diff --git a/streams/streams_data_test.go b/streams_old/streams_data_test.go similarity index 99% rename from streams/streams_data_test.go rename to streams_old/streams_data_test.go index 09db9e2..5e292c8 100644 --- a/streams/streams_data_test.go +++ b/streams_old/streams_data_test.go @@ -1,4 +1,4 @@ -package streams +package streams_old var repoExample1 = `{ "@context": "http://www.w3.org/ns/activitystreams", diff --git a/streams/streams_test.go b/streams_old/streams_test.go similarity index 99% rename from streams/streams_test.go rename to streams_old/streams_test.go index 32626f3..75c6992 100644 --- a/streams/streams_test.go +++ b/streams_old/streams_test.go @@ -1,6 +1,6 @@ //go:generate go install github.com/go-fed/activity/tools/streams //go:generate streams -package streams +package streams_old import ( "encoding/json"