mirror of
https://gitea.com/gitea/go-fed-activity.git
synced 2024-06-01 17:51:23 +05:30
Move streams
to streams_old
in preparation for the new vocabulary.
This commit is contained in:
parent
ba00f3f875
commit
8fa479da40
|
@ -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
|
||||
|
|
|
@ -2,7 +2,7 @@ package pub
|
|||
|
||||
import (
|
||||
"context"
|
||||
"github.com/go-fed/activity/streams"
|
||||
"github.com/go-fed/activity/streams_old"
|
||||
)
|
||||
|
||||
type callbackerAnnounce interface {
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -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"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,5 +1,5 @@
|
|||
//
|
||||
package streams
|
||||
package streams_old
|
||||
|
||||
import (
|
||||
"github.com/go-fed/activity/vocab"
|
|
@ -1,4 +1,4 @@
|
|||
package streams
|
||||
package streams_old
|
||||
|
||||
var repoExample1 = `{
|
||||
"@context": "http://www.w3.org/ns/activitystreams",
|
|
@ -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"
|
Loading…
Reference in a new issue