Skip to content

Commit

Permalink
Update package name and location
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiemh committed Dec 14, 2021
1 parent 0490d30 commit b92219b
Show file tree
Hide file tree
Showing 333 changed files with 726 additions and 720 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2020 Abcum Ltd.
Copyright © 2020 SurrealDB Ltd.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2016 Abcum Ltd
# Copyright © 2016 SurrealDB Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Surreal is a scalable, distributed, strongly-consistent, collaborative document-graph database.

[![](https://img.shields.io/circleci/token/adb5ca379a334a4011fa894275c312fe35833d6d/project/abcum/surreal/master.svg?style=flat-square)](https://circleci.com/gh/abcum/surreal) [![](https://img.shields.io/badge/status-alpha-ff00bb.svg?style=flat-square)](https://github.com/abcum/surreal) [![](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square)](https://godoc.org/github.com/abcum/surreal) [![](https://goreportcard.com/badge/github.com/abcum/surreal?style=flat-square)](https://goreportcard.com/report/github.com/abcum/surreal) [![](https://img.shields.io/badge/license-Apache_License_2.0-00bfff.svg?style=flat-square)](https://github.com/abcum/surreal)
[![](https://img.shields.io/badge/status-alpha-ff00bb.svg?style=flat-square)](https://github.com/surrealdb/surrealdb) [![](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square)](https://godoc.org/github.com/surrealdb/surrealdb) [![](https://goreportcard.com/badge/github.com/surrealdb/surrealdb?style=flat-square)](https://goreportcard.com/report/github.com/surrealdb/surrealdb) [![](https://img.shields.io/badge/license-Apache_License_2.0-00bfff.svg?style=flat-square)](https://github.com/surrealdb/surrealdb)

#### Features

Expand Down Expand Up @@ -51,7 +51,7 @@ Surreal is a scalable, distributed, strongly-consistent, collaborative document-
#### Installation

```bash
go get github.com/abcum/surreal
go get github.com/surrealdb/surrealdb
```

#### Running
Expand Down
6 changes: 3 additions & 3 deletions build/flags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ set -eu

cd "$(dirname "${0}")/.."

echo '-X "github.com/abcum/surreal/util/build.rev='$(git rev-parse HEAD)'"' \
'-X "github.com/abcum/surreal/util/build.ver='$(git describe --tags --abbrev=0 || echo 0.0.0)'"' \
'-X "github.com/abcum/surreal/util/build.time='$(date -u '+%Y/%m/%d %H:%M:%S')'"'
echo '-X "github.com/surrealdb/surrealdb/util/build.rev='$(git rev-parse HEAD)'"' \
'-X "github.com/surrealdb/surrealdb/util/build.ver='$(git describe --tags --abbrev=0 || echo 0.0.0)'"' \
'-X "github.com/surrealdb/surrealdb/util/build.time='$(date -u '+%Y/%m/%d %H:%M:%S')'"'
4 changes: 2 additions & 2 deletions cli/cli.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016 Abcum Ltd
// Copyright © 2016 SurrealDB Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -19,7 +19,7 @@ import (

"github.com/spf13/cobra"

"github.com/abcum/surreal/cnf"
"github.com/surrealdb/surrealdb/cnf"
)

var opts *cnf.Options
Expand Down
4 changes: 2 additions & 2 deletions cli/export.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016 Abcum Ltd
// Copyright © 2016 SurrealDB Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -24,7 +24,7 @@ import (

"github.com/spf13/cobra"

"github.com/abcum/surreal/log"
"github.com/surrealdb/surrealdb/log"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions cli/import.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016 Abcum Ltd
// Copyright © 2016 SurrealDB Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -23,7 +23,7 @@ import (

"github.com/spf13/cobra"

"github.com/abcum/surreal/log"
"github.com/surrealdb/surrealdb/log"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion cli/logo.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016 Abcum Ltd
// Copyright © 2016 SurrealDB Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
8 changes: 4 additions & 4 deletions cli/setup.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016 Abcum Ltd
// Copyright © 2016 SurrealDB Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -24,9 +24,9 @@ import (

"encoding/pem"

"github.com/abcum/surreal/cnf"
"github.com/abcum/surreal/log"
"github.com/abcum/surreal/util/rand"
"github.com/surrealdb/surrealdb/cnf"
"github.com/surrealdb/surrealdb/log"
"github.com/surrealdb/surrealdb/util/rand"
)

func setup() {
Expand Down
10 changes: 5 additions & 5 deletions cli/start.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016 Abcum Ltd
// Copyright © 2016 SurrealDB Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -17,10 +17,10 @@ package cli
import (
"github.com/spf13/cobra"

"github.com/abcum/surreal/db"
"github.com/abcum/surreal/kvs"
"github.com/abcum/surreal/log"
"github.com/abcum/surreal/web"
"github.com/surrealdb/surrealdb/db"
"github.com/surrealdb/surrealdb/kvs"
"github.com/surrealdb/surrealdb/log"
"github.com/surrealdb/surrealdb/web"
)

var startCmd = &cobra.Command{
Expand Down
4 changes: 2 additions & 2 deletions cli/version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016 Abcum Ltd
// Copyright © 2016 SurrealDB Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -21,7 +21,7 @@ import (

"github.com/spf13/cobra"

"github.com/abcum/surreal/util/build"
"github.com/surrealdb/surrealdb/util/build"
)

var versionCmd = &cobra.Command{
Expand Down
2 changes: 1 addition & 1 deletion cnf/auth.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016 Abcum Ltd
// Copyright © 2016 SurrealDB Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cnf/cnf.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016 Abcum Ltd
// Copyright © 2016 SurrealDB Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion cnf/kind.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016 Abcum Ltd
// Copyright © 2016 SurrealDB Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions db/access.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016 Abcum Ltd
// Copyright © 2016 SurrealDB Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -17,7 +17,7 @@ package db
import (
"context"

"github.com/abcum/surreal/cnf"
"github.com/surrealdb/surrealdb/cnf"
)

func (e *executor) access(ctx context.Context, kind cnf.Kind) (err error) {
Expand Down
2 changes: 1 addition & 1 deletion db/cache.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016 Abcum Ltd
// Copyright © 2016 SurrealDB Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
6 changes: 3 additions & 3 deletions db/check.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016 Abcum Ltd
// Copyright © 2016 SurrealDB Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -17,8 +17,8 @@ package db
import (
"context"

"github.com/abcum/surreal/cnf"
"github.com/abcum/surreal/sql"
"github.com/surrealdb/surrealdb/cnf"
"github.com/surrealdb/surrealdb/sql"
)

func (d *document) check(ctx context.Context, cond sql.Expr) (ok bool, err error) {
Expand Down
4 changes: 2 additions & 2 deletions db/context.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016 Abcum Ltd
// Copyright © 2016 SurrealDB Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -17,7 +17,7 @@ package db
import (
"context"

"github.com/abcum/surreal/cnf"
"github.com/surrealdb/surrealdb/cnf"
)

func vers(ctx context.Context) uint32 {
Expand Down
12 changes: 6 additions & 6 deletions db/create.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016 Abcum Ltd
// Copyright © 2016 SurrealDB Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -19,11 +19,11 @@ import (

"context"

"github.com/abcum/surreal/cnf"
"github.com/abcum/surreal/sql"
"github.com/abcum/surreal/util/data"
"github.com/abcum/surreal/util/guid"
"github.com/abcum/surreal/util/keys"
"github.com/surrealdb/surrealdb/cnf"
"github.com/surrealdb/surrealdb/sql"
"github.com/surrealdb/surrealdb/util/data"
"github.com/surrealdb/surrealdb/util/guid"
"github.com/surrealdb/surrealdb/util/keys"
)

func (e *executor) executeCreate(ctx context.Context, stm *sql.CreateStatement) ([]interface{}, error) {
Expand Down
4 changes: 2 additions & 2 deletions db/create_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016 Abcum Ltd
// Copyright © 2016 SurrealDB Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -17,7 +17,7 @@ package db
import (
"testing"

"github.com/abcum/surreal/util/data"
"github.com/surrealdb/surrealdb/util/data"
. "github.com/smartystreets/goconvey/convey"
)

Expand Down
14 changes: 7 additions & 7 deletions db/db.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016 Abcum Ltd
// Copyright © 2016 SurrealDB Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -22,13 +22,13 @@ import (

"net/http"

"github.com/abcum/fibre"
"github.com/abcum/surreal/cnf"
"github.com/abcum/surreal/kvs"
"github.com/abcum/surreal/sql"
"github.com/abcum/surreal/util/data"
"github.com/surrealdb/fibre"
"github.com/surrealdb/surrealdb/cnf"
"github.com/surrealdb/surrealdb/kvs"
"github.com/surrealdb/surrealdb/sql"
"github.com/surrealdb/surrealdb/util/data"

_ "github.com/abcum/surreal/kvs/rixxdb"
_ "github.com/surrealdb/surrealdb/kvs/rixxdb"
)

var KV string
Expand Down
10 changes: 5 additions & 5 deletions db/db_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016 Abcum Ltd
// Copyright © 2016 SurrealDB Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -17,10 +17,10 @@ package db
import (
"net/http/httptest"

"github.com/abcum/fibre"
"github.com/abcum/surreal/cnf"
"github.com/abcum/surreal/kvs"
"github.com/abcum/surreal/util/uuid"
"github.com/surrealdb/fibre"
"github.com/surrealdb/surrealdb/cnf"
"github.com/surrealdb/surrealdb/kvs"
"github.com/surrealdb/surrealdb/util/uuid"
)

var req *fibre.Request
Expand Down
10 changes: 5 additions & 5 deletions db/define.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016 Abcum Ltd
// Copyright © 2016 SurrealDB Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance wdbh the License.
Expand All @@ -19,10 +19,10 @@ import (

"golang.org/x/crypto/bcrypt"

"github.com/abcum/surreal/cnf"
"github.com/abcum/surreal/sql"
"github.com/abcum/surreal/util/keys"
"github.com/abcum/surreal/util/rand"
"github.com/surrealdb/surrealdb/cnf"
"github.com/surrealdb/surrealdb/sql"
"github.com/surrealdb/surrealdb/util/keys"
"github.com/surrealdb/surrealdb/util/rand"
)

func (e *executor) executeDefineNamespace(ctx context.Context, ast *sql.DefineNamespaceStatement) (out []interface{}, err error) {
Expand Down
6 changes: 3 additions & 3 deletions db/define_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016 Abcum Ltd
// Copyright © 2016 SurrealDB Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -17,8 +17,8 @@ package db
import (
"testing"

"github.com/abcum/surreal/sql"
"github.com/abcum/surreal/util/data"
"github.com/surrealdb/surrealdb/sql"
"github.com/surrealdb/surrealdb/util/data"
. "github.com/smartystreets/goconvey/convey"
)

Expand Down
10 changes: 5 additions & 5 deletions db/delete.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016 Abcum Ltd
// Copyright © 2016 SurrealDB Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -19,10 +19,10 @@ import (

"context"

"github.com/abcum/surreal/cnf"
"github.com/abcum/surreal/sql"
"github.com/abcum/surreal/util/data"
"github.com/abcum/surreal/util/keys"
"github.com/surrealdb/surrealdb/cnf"
"github.com/surrealdb/surrealdb/sql"
"github.com/surrealdb/surrealdb/util/data"
"github.com/surrealdb/surrealdb/util/keys"
)

func (e *executor) executeDelete(ctx context.Context, stm *sql.DeleteStatement) ([]interface{}, error) {
Expand Down
2 changes: 1 addition & 1 deletion db/delete_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016 Abcum Ltd
// Copyright © 2016 SurrealDB Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
12 changes: 6 additions & 6 deletions db/document.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016 Abcum Ltd
// Copyright © 2016 SurrealDB Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -19,11 +19,11 @@ import (

"context"

"github.com/abcum/surreal/kvs"
"github.com/abcum/surreal/sql"
"github.com/abcum/surreal/util/data"
"github.com/abcum/surreal/util/indx"
"github.com/abcum/surreal/util/keys"
"github.com/surrealdb/surrealdb/kvs"
"github.com/surrealdb/surrealdb/sql"
"github.com/surrealdb/surrealdb/util/data"
"github.com/surrealdb/surrealdb/util/indx"
"github.com/surrealdb/surrealdb/util/keys"
)

type document struct {
Expand Down
Loading

0 comments on commit b92219b

Please sign in to comment.