Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
forks
ble
Commits
4b4e243c
Commit
4b4e243c
authored
Oct 17, 2017
by
Kevin Seidel
Browse files
Move /x/context to context in examples
parent
430b7bf0
Changes
6
Hide whitespace changes
Inline
Side-by-side
examples/basic/advertiser/main.go
View file @
4b4e243c
package
main
import
(
"context"
"flag"
"fmt"
"log"
"time"
"github.com/pkg/errors"
"golang.org/x/net/context"
"github.com/currantlabs/ble"
"github.com/currantlabs/ble/examples/lib/dev"
...
...
examples/basic/explorer/main.go
View file @
4b4e243c
package
main
import
(
"context"
"flag"
"fmt"
"log"
...
...
@@ -8,7 +9,6 @@ import (
"time"
"github.com/pkg/errors"
"golang.org/x/net/context"
"github.com/currantlabs/ble"
"github.com/currantlabs/ble/examples/lib/dev"
...
...
examples/basic/scanner/main.go
View file @
4b4e243c
package
main
import
(
"context"
"flag"
"fmt"
"log"
"time"
"github.com/pkg/errors"
"golang.org/x/net/context"
"github.com/currantlabs/ble"
"github.com/currantlabs/ble/examples/lib/dev"
...
...
examples/basic/server/main.go
View file @
4b4e243c
package
main
import
(
"context"
"flag"
"fmt"
"log"
"time"
"github.com/pkg/errors"
"golang.org/x/net/context"
"github.com/currantlabs/ble"
"github.com/currantlabs/ble/examples/lib"
...
...
examples/blesh/main.go
View file @
4b4e243c
...
...
@@ -2,14 +2,13 @@ package main
import
(
"bufio"
"context"
"fmt"
"os"
"os/signal"
"strings"
"syscall"
"golang.org/x/net/context"
"github.com/pkg/errors"
"github.com/urfave/cli"
...
...
examples/blesh/util.go
View file @
4b4e243c
package
main
import
(
"context"
"fmt"
"github.com/currantlabs/ble"
"github.com/pkg/errors"
"github.com/urfave/cli"
"golang.org/x/net/context"
)
func
doGetUUID
(
c
*
cli
.
Context
)
error
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment