Skip to content

Commit

Permalink
update import path
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Cooper committed Dec 24, 2016
1 parent 170a3b3 commit 1f539c8
Show file tree
Hide file tree
Showing 47 changed files with 82 additions and 82 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Sub-projects

- gumble [![GoDoc](https://godoc.org/github.com/layeh/gumble/gumble?status.svg)](https://godoc.org/github.com/layeh/gumble/gumble)
- gumble [![GoDoc](https://godoc.org/layeh.com/gumble/gumble?status.svg)](https://godoc.org/layeh.com/gumble/gumble)
- Client library
- gumbleopenal
- [OpenAL](http://kcat.strangesoft.net/openal.html) audio system for gumble
Expand All @@ -16,8 +16,8 @@
package main

import (
"github.com/layeh/gumble/gumble"
"github.com/layeh/gumble/gumbleutil"
"layeh.com/gumble/gumble"
"layeh.com/gumble/gumbleutil"
)

func main() {
Expand All @@ -32,9 +32,9 @@

## Related projects

- [barnard](https://github.com/layeh/barnard)
- [barnard](https://layeh.com/barnard)
- terminal-based Mumble client
- [piepan](https://github.com/layeh/piepan)
- [piepan](https://layeh.com/piepan)
- an easy to use framework for writing Mumble bots using Lua

## License
Expand Down
8 changes: 4 additions & 4 deletions _examples/mumble-audio-player/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"os"
"path/filepath"

"github.com/layeh/gumble/gumble"
"github.com/layeh/gumble/gumbleffmpeg"
"github.com/layeh/gumble/gumbleutil"
_ "github.com/layeh/gumble/opus"
"layeh.com/gumble/gumble"
"layeh.com/gumble/gumbleffmpeg"
"layeh.com/gumble/gumbleutil"
_ "layeh.com/gumble/opus"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion _examples/mumble-ping/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strconv"
"time"

"github.com/layeh/gumble/gumble"
"layeh.com/gumble/gumble"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions gumble/accesstokens.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gumble
package gumble // import "layeh.com/gumble/gumble"

import (
"github.com/layeh/gumble/gumble/MumbleProto"
"layeh.com/gumble/gumble/MumbleProto"
)

// AccessTokens are additional passwords that can be provided to the server to
Expand Down
4 changes: 2 additions & 2 deletions gumble/acl.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package gumble
package gumble // import "layeh.com/gumble/gumble"

import (
"github.com/golang/protobuf/proto"
"github.com/layeh/gumble/gumble/MumbleProto"
"layeh.com/gumble/gumble/MumbleProto"
)

// ACL contains a list of ACLGroups and ACLRules linked to a channel.
Expand Down
2 changes: 1 addition & 1 deletion gumble/audio.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gumble
package gumble // import "layeh.com/gumble/gumble"

import (
"time"
Expand Down
2 changes: 1 addition & 1 deletion gumble/audiocodec.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gumble
package gumble // import "layeh.com/gumble/gumble"

import (
"sync"
Expand Down
2 changes: 1 addition & 1 deletion gumble/audiolisteners.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gumble
package gumble // import "layeh.com/gumble/gumble"

type audioEventItem struct {
parent *AudioListeners
Expand Down
4 changes: 2 additions & 2 deletions gumble/bans.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package gumble
package gumble // import "layeh.com/gumble/gumble"

import (
"net"
"time"

"github.com/golang/protobuf/proto"
"github.com/layeh/gumble/gumble/MumbleProto"
"layeh.com/gumble/gumble/MumbleProto"
)

// BanList is a list of server ban entries.
Expand Down
4 changes: 2 additions & 2 deletions gumble/channel.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package gumble
package gumble // import "layeh.com/gumble/gumble"

import (
"github.com/golang/protobuf/proto"
"github.com/layeh/gumble/gumble/MumbleProto"
"layeh.com/gumble/gumble/MumbleProto"
)

// Channel represents a channel in the server's channel tree.
Expand Down
2 changes: 1 addition & 1 deletion gumble/channels.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gumble
package gumble // import "layeh.com/gumble/gumble"

// Channels is a map of server channels.
type Channels map[uint32]*Channel
Expand Down
4 changes: 2 additions & 2 deletions gumble/client.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gumble
package gumble // import "layeh.com/gumble/gumble"

import (
"crypto/tls"
Expand All @@ -11,7 +11,7 @@ import (
"time"

"github.com/golang/protobuf/proto"
"github.com/layeh/gumble/gumble/MumbleProto"
"layeh.com/gumble/gumble/MumbleProto"
)

// State is the current state of the client's connection to the server.
Expand Down
2 changes: 1 addition & 1 deletion gumble/config.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gumble
package gumble // import "layeh.com/gumble/gumble"

import (
"time"
Expand Down
6 changes: 3 additions & 3 deletions gumble/conn.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gumble
package gumble // import "layeh.com/gumble/gumble"

import (
"encoding/binary"
Expand All @@ -9,8 +9,8 @@ import (
"time"

"github.com/golang/protobuf/proto"
"github.com/layeh/gumble/gumble/MumbleProto"
"github.com/layeh/gumble/gumble/varint"
"layeh.com/gumble/gumble/MumbleProto"
"layeh.com/gumble/gumble/varint"
)

// DefaultPort is the default port on which Mumble servers listen.
Expand Down
4 changes: 2 additions & 2 deletions gumble/contextaction.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gumble
package gumble // import "layeh.com/gumble/gumble"

import (
"github.com/layeh/gumble/gumble/MumbleProto"
"layeh.com/gumble/gumble/MumbleProto"
)

// ContextActionType is a bitmask of contexts where a ContextAction can be
Expand Down
2 changes: 1 addition & 1 deletion gumble/contextactions.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gumble
package gumble // import "layeh.com/gumble/gumble"

// ContextActions is a map of ContextActions.
type ContextActions map[string]*ContextAction
Expand Down
2 changes: 1 addition & 1 deletion gumble/detacher.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gumble
package gumble // import "layeh.com/gumble/gumble"

// Detacher is an interface that event listeners implement. After the Detach
// method is called, the listener will no longer receive events.
Expand Down
4 changes: 2 additions & 2 deletions gumble/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
// for transmitting and receiving audio. It can be enabled by importing the
// following package for its side effect:
// import (
// _ "github.com/layeh/gumble/opus"
// _ "layeh.com/gumble/opus"
// )
//
// To ensure that gumble clients can always transmit and receive audio to and
Expand All @@ -42,4 +42,4 @@
// (Users, Channels, Config, etc.), is thread-unsafe. Accessing or modifying
// those structures should only be done from inside of an event listener or via
// Client.Do.
package gumble
package gumble // import "layeh.com/gumble/gumble"
4 changes: 2 additions & 2 deletions gumble/event.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gumble
package gumble // import "layeh.com/gumble/gumble"

import (
"github.com/layeh/gumble/gumble/MumbleProto"
"layeh.com/gumble/gumble/MumbleProto"
)

// EventListener is the interface that must be implemented by a type if it
Expand Down
6 changes: 3 additions & 3 deletions gumble/handlers.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gumble
package gumble // import "layeh.com/gumble/gumble"

import (
"crypto/x509"
Expand All @@ -10,8 +10,8 @@ import (
"time"

"github.com/golang/protobuf/proto"
"github.com/layeh/gumble/gumble/MumbleProto"
"github.com/layeh/gumble/gumble/varint"
"layeh.com/gumble/gumble/MumbleProto"
"layeh.com/gumble/gumble/varint"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion gumble/listeners.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gumble
package gumble // import "layeh.com/gumble/gumble"

type eventItem struct {
parent *Listeners
Expand Down
2 changes: 1 addition & 1 deletion gumble/message.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gumble
package gumble // import "layeh.com/gumble/gumble"

// Message is data that be encoded and sent to the server. The following
// types implement this interface:
Expand Down
2 changes: 1 addition & 1 deletion gumble/permission.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gumble
package gumble // import "layeh.com/gumble/gumble"

// Permission is a bitmask of permissions given to a certain user.
type Permission int
Expand Down
2 changes: 1 addition & 1 deletion gumble/ping.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gumble
package gumble // import "layeh.com/gumble/gumble"

import (
"crypto/rand"
Expand Down
4 changes: 2 additions & 2 deletions gumble/reject.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package gumble
package gumble // import "layeh.com/gumble/gumble"

import (
"strconv"

"github.com/layeh/gumble/gumble/MumbleProto"
"layeh.com/gumble/gumble/MumbleProto"
)

// RejectType describes why a client connection was rejected by the server.
Expand Down
4 changes: 2 additions & 2 deletions gumble/textmessage.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gumble
package gumble // import "layeh.com/gumble/gumble"

import (
"github.com/layeh/gumble/gumble/MumbleProto"
"layeh.com/gumble/gumble/MumbleProto"
)

// TextMessage is a chat message that can be received from and sent to the
Expand Down
4 changes: 2 additions & 2 deletions gumble/user.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package gumble
package gumble // import "layeh.com/gumble/gumble"

import (
"github.com/golang/protobuf/proto"
"github.com/layeh/gumble/gumble/MumbleProto"
"layeh.com/gumble/gumble/MumbleProto"
)

// User represents a user that is currently connected to the server.
Expand Down
4 changes: 2 additions & 2 deletions gumble/userlist.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package gumble
package gumble // import "layeh.com/gumble/gumble"

import (
"time"

"github.com/layeh/gumble/gumble/MumbleProto"
"layeh.com/gumble/gumble/MumbleProto"
)

// RegisteredUser represents a registered user on the server.
Expand Down
2 changes: 1 addition & 1 deletion gumble/users.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gumble
package gumble // import "layeh.com/gumble/gumble"

// Users is a map of server users.
//
Expand Down
2 changes: 1 addition & 1 deletion gumble/userstats.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gumble
package gumble // import "layeh.com/gumble/gumble"

import (
"crypto/x509"
Expand Down
2 changes: 1 addition & 1 deletion gumble/varint/read.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package varint
package varint // import "layeh.com/gumble/gumble/varint"

import (
"encoding/binary"
Expand Down
2 changes: 1 addition & 1 deletion gumble/varint/varint_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package varint
package varint // import "layeh.com/gumble/gumble/varint"

import "testing"

Expand Down
2 changes: 1 addition & 1 deletion gumble/varint/write.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package varint
package varint // import "layeh.com/gumble/gumble/varint"

import (
"encoding/binary"
Expand Down
2 changes: 1 addition & 1 deletion gumble/version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gumble
package gumble // import "layeh.com/gumble/gumble"

// Version represents a Mumble client or server version.
type Version struct {
Expand Down
4 changes: 2 additions & 2 deletions gumble/voicetarget.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gumble
package gumble // import "layeh.com/gumble/gumble"

import (
"github.com/layeh/gumble/gumble/MumbleProto"
"layeh.com/gumble/gumble/MumbleProto"
)

// VoiceTargetLoopback is a special voice target which causes any audio sent to
Expand Down
2 changes: 1 addition & 1 deletion gumbleffmpeg/source.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gumbleffmpeg
package gumbleffmpeg // import "layeh.com/gumble/gumbleffmpeg"

import (
"io"
Expand Down
4 changes: 2 additions & 2 deletions gumbleffmpeg/stream.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gumbleffmpeg
package gumbleffmpeg // import "layeh.com/gumble/gumbleffmpeg"

import (
"encoding/binary"
Expand All @@ -10,7 +10,7 @@ import (
"sync/atomic"
"time"

"github.com/layeh/gumble/gumble"
"layeh.com/gumble/gumble"
)

// State represents the state of a Stream.
Expand Down
4 changes: 2 additions & 2 deletions gumbleopenal/stream.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package gumbleopenal
package gumbleopenal // import "layeh.com/gumble/gumbleopenal"

import (
"encoding/binary"
"errors"
"time"

"github.com/layeh/gumble/gumble"
"layeh.com/gumble/gumble"
"github.com/timshannon/go-openal/openal"
)

Expand Down
4 changes: 2 additions & 2 deletions gumbleutil/acl.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gumbleutil
package gumbleutil // import "layeh.com/gumble/gumbleutil"

import (
"github.com/layeh/gumble/gumble"
"layeh.com/gumble/gumble"
)

// UserGroups fetches the group names the given user belongs to in the given
Expand Down
4 changes: 2 additions & 2 deletions gumbleutil/bitrate.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package gumbleutil
package gumbleutil // import "layeh.com/gumble/gumbleutil"

import (
"time"

"github.com/layeh/gumble/gumble"
"layeh.com/gumble/gumble"
)

var autoBitrate = &Listener{
Expand Down
Loading

0 comments on commit 1f539c8

Please sign in to comment.