Remove whappdc- prefix from package directory names

master
Hugo Thunnissen 4 years ago
parent e5300cdfb9
commit b3c28880b0

@ -6,7 +6,7 @@ import (
"github.com/Rhymen/go-whatsapp" "github.com/Rhymen/go-whatsapp"
"github.com/hugot/go-deltachat/deltachat" "github.com/hugot/go-deltachat/deltachat"
core "github.com/hugot/whapp-deltachat/whappdc-core" "github.com/hugot/whapp-deltachat/core"
) )
func NewWhappBridge(bridgeContext *core.BridgeContext) *WhappBridge { func NewWhappBridge(bridgeContext *core.BridgeContext) *WhappBridge {

@ -5,8 +5,8 @@ import (
"github.com/hugot/go-deltachat/deltabot" "github.com/hugot/go-deltachat/deltabot"
"github.com/hugot/whapp-deltachat/botcommands" "github.com/hugot/whapp-deltachat/botcommands"
"github.com/hugot/whapp-deltachat/core"
"github.com/hugot/whapp-deltachat/whappdc" "github.com/hugot/whapp-deltachat/whappdc"
core "github.com/hugot/whapp-deltachat/whappdc-core"
) )
type Bridge struct { type Bridge struct {

@ -7,8 +7,8 @@ import (
"os/signal" "os/signal"
"syscall" "syscall"
bridge "github.com/hugot/whapp-deltachat/whappdc-bridge" bridge "github.com/hugot/whapp-deltachat/bridge"
core "github.com/hugot/whapp-deltachat/whappdc-core" "github.com/hugot/whapp-deltachat/core"
) )
func main() { func main() {

@ -7,7 +7,7 @@ import (
"github.com/Rhymen/go-whatsapp" "github.com/Rhymen/go-whatsapp"
"github.com/hugot/go-deltachat/deltachat" "github.com/hugot/go-deltachat/deltachat"
core "github.com/hugot/whapp-deltachat/whappdc-core" "github.com/hugot/whapp-deltachat/core"
) )
type MessageHandler struct { type MessageHandler struct {

@ -5,7 +5,7 @@ import (
"sync" "sync"
"time" "time"
core "github.com/hugot/whapp-deltachat/whappdc-core" "github.com/hugot/whapp-deltachat/core"
) )
func NewMessageTracker(DB *core.Database, flushInterval time.Duration) *MessageTracker { func NewMessageTracker(DB *core.Database, flushInterval time.Duration) *MessageTracker {

@ -6,7 +6,7 @@ import (
"github.com/Rhymen/go-whatsapp" "github.com/Rhymen/go-whatsapp"
"github.com/hugot/go-deltachat/deltachat" "github.com/hugot/go-deltachat/deltachat"
core "github.com/hugot/whapp-deltachat/whappdc-core" "github.com/hugot/whapp-deltachat/core"
) )
func NewWhappContext( func NewWhappContext(

@ -6,7 +6,7 @@ import (
"time" "time"
"github.com/Rhymen/go-whatsapp" "github.com/Rhymen/go-whatsapp"
core "github.com/hugot/whapp-deltachat/whappdc-core" "github.com/hugot/whapp-deltachat/core"
) )
// WhappHandler implements go-whaptsapp.Handler // WhappHandler implements go-whaptsapp.Handler

Loading…
Cancel
Save