Skip to content

Commit

Permalink
add correct library location to samples
Browse files Browse the repository at this point in the history
  • Loading branch information
Al S-M committed Jan 7, 2014
1 parent 95d1ecb commit a334970
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion samples/custom_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package main

import "fmt"
import "time"
import MQTT ""
import MQTT "git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git"

// This NoOpStore type implements the go-mqtt/Store interface, which
// allows it to be used by the go-mqtt client library. However, it is
Expand Down
2 changes: 1 addition & 1 deletion samples/reconnect.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package main
import "fmt"
import "flag"
import "time"
import MQTT ""
import MQTT "git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git"

/*
Options:
Expand Down
2 changes: 1 addition & 1 deletion samples/routing.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ must wait for messages to be published.
package main

import "fmt"
import MQTT ""
import MQTT "git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git"

var broker_load = make(chan bool)
var broker_connection = make(chan bool)
Expand Down
2 changes: 1 addition & 1 deletion samples/sample.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package main

import "fmt"
import "flag"
import MQTT ""
import MQTT "git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git"

/*
Options:
Expand Down
2 changes: 1 addition & 1 deletion samples/simple.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package main

import "fmt"
import "time"
import MQTT ""
import MQTT "git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git"

var f MQTT.MessageHandler = func(msg MQTT.Message) {
fmt.Printf("TOPIC: %s\n", msg.Topic())
Expand Down
2 changes: 1 addition & 1 deletion samples/ssl.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import "fmt"
import "time"
import "crypto/tls"
import "crypto/x509"
import MQTT ""
import MQTT "git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git"

func NewTlsConfig() *tls.Config {
// Import trusted certificates from CAfile.pem.
Expand Down
2 changes: 1 addition & 1 deletion samples/stdinpub.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"time"
)

import MQTT ""
import MQTT "git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git"

func main() {
stdin := bufio.NewReader(os.Stdin)
Expand Down
2 changes: 1 addition & 1 deletion samples/stdoutsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"time"
)

import MQTT ""
import MQTT "git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git"

func onMessageReceived(message MQTT.Message) {
fmt.Printf("Received message on topic: %s\n", message.Topic())
Expand Down

0 comments on commit a334970

Please sign in to comment.