Skip to content

Commit df1df42

Browse files
authored
Update module name to osquery/osquery-go (osquery#91)
Update module name to `osquery/osquery-go` completing the move from `kolide/osquery-go`
1 parent b019be7 commit df1df42

File tree

24 files changed

+44
-51
lines changed

24 files changed

+44
-51
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ deps: deps-go
1515

1616
gen: ./osquery.thrift
1717
mkdir -p ./gen
18-
thrift --gen go:package_prefix=github.com/kolide/osquery-go/gen/ -out ./gen ./osquery.thrift
18+
thrift --gen go:package_prefix=github.com/osquery/osquery-go/gen/ -out ./gen ./osquery.thrift
1919
rm -rf gen/osquery/extension-remote gen/osquery/extension_manager-remote
2020
gofmt -w ./gen
2121

README.md

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# osquery-go
22

3-
[![CircleCI](https://circleci.com/gh/kolide/osquery-go/tree/master.svg?style=svg)](https://circleci.com/gh/kolide/osquery-go/tree/master)
4-
[![GoDoc](https://godoc.org/github.com/kolide/osquery-go?status.svg)](http://godoc.org/github.com/kolide/osquery-go)
3+
[![CircleCI](https://circleci.com/gh/osquery/osquery-go/tree/master.svg?style=svg)](https://circleci.com/gh/osquery/osquery-go/tree/master)
4+
[![GoDoc](https://godoc.org/github.com/osquery/osquery-go?status.svg)](http://godoc.org/github.com/osquery/osquery-go)
55

66
[osquery](https://github.com/facebook/osquery) exposes an operating system as a high-performance relational database. This allows you to write SQL-based queries to explore operating system data. With osquery, SQL tables represent abstract concepts such as running processes, loaded kernel modules, open network connections, browser plugins, hardware events or file hashes.
77

@@ -13,16 +13,11 @@ In osquery, SQL tables, configuration retrieval, log handling, etc. are implemen
1313

1414
## Install
1515

16-
To install this library in your `GOPATH`:
16+
This library is compatible with Go Modules. To install:
1717

18+
``` go
19+
go get github.com/osquery/osquery-go
1820
```
19-
mkdir -p $GOPATH/src/github.com/kolide/
20-
git clone [email protected]:kolide/osquery-go.git $GOPATH/src/github.com/kolide/osquery-go
21-
cd $GOPATH/src/github.com/kolide/osquery-go
22-
make deps
23-
```
24-
25-
Alternatively, if you're using this in a project that uses a dependency management tool like [Glide](https://github.com/Masterminds/glide) or [Dep](https://github.com/golang/dep), then follow the relevant instructions provided by that tool.
2621

2722
## Using the library
2823

@@ -40,8 +35,8 @@ import (
4035
"os"
4136
"flag"
4237

43-
"github.com/kolide/osquery-go"
44-
"github.com/kolide/osquery-go/plugin/table"
38+
"github.com/osquery/osquery-go"
39+
"github.com/osquery/osquery-go/plugin/table"
4540
)
4641

4742
func main() {
@@ -194,7 +189,7 @@ import (
194189
"os"
195190
"time"
196191

197-
"github.com/kolide/osquery-go"
192+
"github.com/osquery/osquery-go"
198193
)
199194

200195
func main() {

client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"context"
55
"time"
66

7-
"github.com/kolide/osquery-go/gen/osquery"
8-
"github.com/kolide/osquery-go/transport"
7+
"github.com/osquery/osquery-go/gen/osquery"
8+
"github.com/osquery/osquery-go/transport"
99
"github.com/pkg/errors"
1010

1111
"github.com/apache/thrift/lib/go/thrift"

client_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"errors"
66
"testing"
77

8-
"github.com/kolide/osquery-go/gen/osquery"
9-
"github.com/kolide/osquery-go/mock"
8+
"github.com/osquery/osquery-go/gen/osquery"
9+
"github.com/osquery/osquery-go/mock"
1010
"github.com/stretchr/testify/assert"
1111
)
1212

examples/call/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"os"
66
"time"
77

8-
"github.com/kolide/osquery-go"
8+
"github.com/osquery/osquery-go"
99
)
1010

1111
func main() {

examples/config/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"log"
77
"time"
88

9-
"github.com/kolide/osquery-go"
10-
"github.com/kolide/osquery-go/plugin/config"
9+
"github.com/osquery/osquery-go"
10+
"github.com/osquery/osquery-go/plugin/config"
1111
)
1212

1313
var (

examples/distributed/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"fmt"
77
"log"
88

9-
"github.com/kolide/osquery-go"
10-
"github.com/kolide/osquery-go/plugin/distributed"
9+
"github.com/osquery/osquery-go"
10+
"github.com/osquery/osquery-go/plugin/distributed"
1111
)
1212

1313
func main() {

examples/logger/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"flag"
66
"log"
77

8-
"github.com/kolide/osquery-go"
9-
"github.com/kolide/osquery-go/plugin/logger"
8+
"github.com/osquery/osquery-go"
9+
"github.com/osquery/osquery-go/plugin/logger"
1010
)
1111

1212
func main() {

examples/query/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"os"
66
"time"
77

8-
"github.com/kolide/osquery-go"
8+
"github.com/osquery/osquery-go"
99
)
1010

1111
func main() {

examples/table/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"log"
77
"time"
88

9-
"github.com/kolide/osquery-go"
10-
"github.com/kolide/osquery-go/plugin/table"
9+
"github.com/osquery/osquery-go"
10+
"github.com/osquery/osquery-go/plugin/table"
1111
)
1212

1313
var (

0 commit comments

Comments
 (0)