Move streams to streams_old in preparation for the new vocabulary.

This commit is contained in:
Cory Slep 2019-01-29 22:16:19 +01:00
parent ba00f3f875
commit 8fa479da40
65 changed files with 64 additions and 64 deletions

View file

@ -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

View file

@ -2,7 +2,7 @@ package pub
import (
"context"
"github.com/go-fed/activity/streams"
"github.com/go-fed/activity/streams_old"
)
type callbackerAnnounce interface {

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"
)

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -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"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,5 +1,5 @@
//
package streams
package streams_old
import (
"github.com/go-fed/activity/vocab"

View file

@ -1,4 +1,4 @@
package streams
package streams_old
var repoExample1 = `{
"@context": "http://www.w3.org/ns/activitystreams",

View file

@ -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"