Skip to content
This repository was archived by the owner on Sep 5, 2025. It is now read-only.

Commit b13e6be

Browse files
Update copyright headers
1 parent 5f22fe4 commit b13e6be

File tree

11 files changed

+36
-65
lines changed

11 files changed

+36
-65
lines changed

admin_test.go

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,6 @@
11
/*
2-
* Copyright 2025 Hypermode Inc. and Contributors
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
2+
* SPDX-FileCopyrightText: © Hypermode Inc. <hello@hypermode.com>
3+
* SPDX-License-Identifier: Apache-2.0
154
*/
165

176
package modusgraph_test

api/types.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* SPDX-FileCopyrightText: © Hypermode Inc. <hello@hypermode.com>
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
16
package api
27

38
type Point struct {

api/types_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* SPDX-FileCopyrightText: © Hypermode Inc. <hello@hypermode.com>
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
16
package api
27

38
import (

delete_test.go

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,6 @@
11
/*
2-
* Copyright 2025 Hypermode Inc. and Contributors
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
2+
* SPDX-FileCopyrightText: © Hypermode Inc. <hello@hypermode.com>
3+
* SPDX-License-Identifier: Apache-2.0
154
*/
165

176
package modusgraph_test

engine.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ func (engine *Engine) queryWithLock(ctx context.Context,
277277
return nil, ErrClosedEngine
278278
}
279279

280+
engine.logger.V(2).Info("Querying namespace", "namespaceID", ns.ID(), "query", q)
280281
ctx = x.AttachNamespace(ctx, ns.ID())
281282
return (&edgraph.Server{}).QueryNoAuth(ctx, &api.Request{
282283
ReadOnly: true,

examples/basic/main.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* SPDX-FileCopyrightText: © Hypermode Inc. <hello@hypermode.com>
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
16
package main
27

38
import (

examples/readme/main.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* SPDX-FileCopyrightText: © Hypermode Inc. <hello@hypermode.com>
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
16
package main
27

38
import (

insert_test.go

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,6 @@
11
/*
2-
* Copyright 2025 Hypermode Inc. and Contributors
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
2+
* SPDX-FileCopyrightText: © Hypermode Inc. <hello@hypermode.com>
3+
* SPDX-License-Identifier: Apache-2.0
154
*/
165

176
package modusgraph_test

unit_test/conn_test.go

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,6 @@
11
/*
2-
* Copyright 2025 Hypermode Inc. and Contributors
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
2+
* SPDX-FileCopyrightText: © Hypermode Inc. <hello@hypermode.com>
3+
* SPDX-License-Identifier: Apache-2.0
154
*/
165

176
package unit_test

update_test.go

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,6 @@
11
/*
2-
* Copyright 2025 Hypermode Inc. and Contributors
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
2+
* SPDX-FileCopyrightText: © Hypermode Inc. <hello@hypermode.com>
3+
* SPDX-License-Identifier: Apache-2.0
154
*/
165

176
package modusgraph_test

0 commit comments

Comments
 (0)