From bb8ed96eedd8de3bc0c9f032d38cb3a8c65c431b Mon Sep 17 00:00:00 2001
From: Manish R Jain <manishrjain@gmail.com>
Date: Thu, 14 Apr 2016 15:24:04 +1000
Subject: [PATCH] Add licenses to all files

---
 worker/assign.go      | 16 ++++++++++++++++
 worker/assign_test.go | 16 ++++++++++++++++
 worker/mutation.go    | 16 ++++++++++++++++
 worker/task.go        | 16 ++++++++++++++++
 worker/worker.go      | 16 ++++++++++++++++
 worker/worker_test.go | 16 ++++++++++++++++
 x/heap_test.go        | 16 ++++++++++++++++
 x/x.go                | 16 ++++++++++++++++
 8 files changed, 128 insertions(+)

diff --git a/worker/assign.go b/worker/assign.go
index d74fea05..99e24525 100644
--- a/worker/assign.go
+++ b/worker/assign.go
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2016 DGraph Labs, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * 		http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package worker
 
 import (
diff --git a/worker/assign_test.go b/worker/assign_test.go
index 3905b639..ee086f2b 100644
--- a/worker/assign_test.go
+++ b/worker/assign_test.go
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2016 DGraph Labs, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * 		http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package worker
 
 import (
diff --git a/worker/mutation.go b/worker/mutation.go
index 37d6a4d4..36a6666d 100644
--- a/worker/mutation.go
+++ b/worker/mutation.go
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2016 DGraph Labs, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * 		http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package worker
 
 import (
diff --git a/worker/task.go b/worker/task.go
index 90a26a9b..28ab6cc9 100644
--- a/worker/task.go
+++ b/worker/task.go
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2016 DGraph Labs, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * 		http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package worker
 
 import (
diff --git a/worker/worker.go b/worker/worker.go
index f6816e20..64d1c9e6 100644
--- a/worker/worker.go
+++ b/worker/worker.go
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2016 DGraph Labs, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * 		http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package worker
 
 import (
diff --git a/worker/worker_test.go b/worker/worker_test.go
index e16a6f81..f879efac 100644
--- a/worker/worker_test.go
+++ b/worker/worker_test.go
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2016 DGraph Labs, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * 		http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package worker
 
 import (
diff --git a/x/heap_test.go b/x/heap_test.go
index 6f9241e0..852238d8 100644
--- a/x/heap_test.go
+++ b/x/heap_test.go
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2016 DGraph Labs, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * 		http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package x
 
 import (
diff --git a/x/x.go b/x/x.go
index 2ae25556..c9213f07 100644
--- a/x/x.go
+++ b/x/x.go
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2016 DGraph Labs, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * 		http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package x
 
 import (
-- 
GitLab