Add Apache License header to files

Project: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/commit/9fa60d9d
Tree: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/tree/9fa60d9d
Diff: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/diff/9fa60d9d

Branch: refs/heads/master
Commit: 9fa60d9d372bf55a26cef59ba5d17ec46278095b
Parents: 89a360c
Author: Francis Chuang <francis.chu...@boostport.com>
Authored: Thu Aug 10 10:13:35 2017 +1000
Committer: Julian Hyde <jh...@apache.org>
Committed: Thu Aug 10 18:47:13 2017 -0700

----------------------------------------------------------------------
 README.md           | 19 +++++++++++++++++++
 class_mappings.go   | 17 +++++++++++++++++
 compat.go           | 17 +++++++++++++++++
 compat_go18.go      | 17 +++++++++++++++++
 connection.go       | 17 +++++++++++++++++
 connection_go18.go  | 17 +++++++++++++++++
 driver.go           | 17 +++++++++++++++++
 driver_go18_test.go | 17 +++++++++++++++++
 driver_test.go      | 17 +++++++++++++++++
 dsn.go              | 17 +++++++++++++++++
 dsn_test.go         | 17 +++++++++++++++++
 errors.go           | 17 +++++++++++++++++
 gen-protobuf.bat    | 15 +++++++++++++++
 gen-protobuf.sh     | 15 +++++++++++++++
 http_client.go      | 17 +++++++++++++++++
 moby.yml            | 15 +++++++++++++++
 result.go           | 17 +++++++++++++++++
 rows.go             | 17 +++++++++++++++++
 rows_go18.go        | 17 +++++++++++++++++
 statement.go        | 20 ++++++++++++++++++--
 statement_go18.go   | 17 +++++++++++++++++
 transaction.go      | 17 +++++++++++++++++
 wercker.yml         | 15 +++++++++++++++
 23 files changed, 386 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/9fa60d9d/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 448ac49..c4771ae 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,22 @@
+<!--
+{% comment %}
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to you 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.
+{% endcomment %}
+-->
+
 # Apache Phoenix/Avatica SQL Driver
 
[![GoDoc](https://godoc.org/github.com/apache/calcite-avatica-go?status.png)](https://godoc.org/github.com/apache/calcite-avatica-go)
 [![wercker 
status](https://app.wercker.com/status/1abd1c7014e780ba7754decadb212451/s/master
 "wercker 
status")](https://app.wercker.com/project/byKey/1abd1c7014e780ba7754decadb212451)

http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/9fa60d9d/class_mappings.go
----------------------------------------------------------------------
diff --git a/class_mappings.go b/class_mappings.go
index b473cdc..93c8795 100644
--- a/class_mappings.go
+++ b/class_mappings.go
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you 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 avatica
 
 import (

http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/9fa60d9d/compat.go
----------------------------------------------------------------------
diff --git a/compat.go b/compat.go
index 5b1b783..e265f65 100644
--- a/compat.go
+++ b/compat.go
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you 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 avatica
 
 import (

http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/9fa60d9d/compat_go18.go
----------------------------------------------------------------------
diff --git a/compat_go18.go b/compat_go18.go
index 56811fc..5ea09e2 100644
--- a/compat_go18.go
+++ b/compat_go18.go
@@ -1,5 +1,22 @@
 // +build go1.8
 
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you 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 avatica
 
 import (

http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/9fa60d9d/connection.go
----------------------------------------------------------------------
diff --git a/connection.go b/connection.go
index 5b74b73..ef6a599 100644
--- a/connection.go
+++ b/connection.go
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you 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 avatica
 
 import (

http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/9fa60d9d/connection_go18.go
----------------------------------------------------------------------
diff --git a/connection_go18.go b/connection_go18.go
index 1403679..f0433dc 100644
--- a/connection_go18.go
+++ b/connection_go18.go
@@ -1,5 +1,22 @@
 // +build go1.8
 
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you 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 avatica
 
 import (

http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/9fa60d9d/driver.go
----------------------------------------------------------------------
diff --git a/driver.go b/driver.go
index 6439bf7..e2c2704 100644
--- a/driver.go
+++ b/driver.go
@@ -1,4 +1,21 @@
 /*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you 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 avatica provides an Apache Phoenix Query Server/Avatica driver for 
Go's database/sql package.
 
 Quickstart

http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/9fa60d9d/driver_go18_test.go
----------------------------------------------------------------------
diff --git a/driver_go18_test.go b/driver_go18_test.go
index 9f7955f..fecdb94 100644
--- a/driver_go18_test.go
+++ b/driver_go18_test.go
@@ -1,5 +1,22 @@
 // +build go1.8
 
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you 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 avatica
 
 import (

http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/9fa60d9d/driver_test.go
----------------------------------------------------------------------
diff --git a/driver_test.go b/driver_test.go
index f51f40f..d4349c2 100644
--- a/driver_test.go
+++ b/driver_test.go
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you 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 avatica
 
 import (

http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/9fa60d9d/dsn.go
----------------------------------------------------------------------
diff --git a/dsn.go b/dsn.go
index d96647a..ae88767 100644
--- a/dsn.go
+++ b/dsn.go
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you 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 avatica
 
 import (

http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/9fa60d9d/dsn_test.go
----------------------------------------------------------------------
diff --git a/dsn_test.go b/dsn_test.go
index 90828d6..54da2f1 100644
--- a/dsn_test.go
+++ b/dsn_test.go
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you 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 avatica
 
 import (

http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/9fa60d9d/errors.go
----------------------------------------------------------------------
diff --git a/errors.go b/errors.go
index 0cef7f7..95a0a90 100644
--- a/errors.go
+++ b/errors.go
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you 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 avatica
 
 import (

http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/9fa60d9d/gen-protobuf.bat
----------------------------------------------------------------------
diff --git a/gen-protobuf.bat b/gen-protobuf.bat
index 027a264..b986a99 100644
--- a/gen-protobuf.bat
+++ b/gen-protobuf.bat
@@ -1,4 +1,19 @@
 @ECHO OFF
+rem Licensed to the Apache Software Foundation (ASF) under one or more
+rem contributor license agreements.  See the NOTICE file distributed with
+rem this work for additional information regarding copyright ownership.
+rem The ASF licenses this file to you under the Apache License, Version 2.0
+rem (the "License"); you may not use this file except in compliance with
+rem the License.  You may obtain a copy of the License at
+
+rem http://www.apache.org/licenses/LICENSE-2.0
+
+rem Unless required by applicable law or agreed to in writing, software
+rem distributed under the License is distributed on an "AS IS" BASIS,
+rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+rem See the License for the specific language governing permissions and
+rem limitations under the License.
+
 SET AVATICA_VER=rel/avatica-1.10.0
 
 IF EXIST message\ rmdir /Q /S message

http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/9fa60d9d/gen-protobuf.sh
----------------------------------------------------------------------
diff --git a/gen-protobuf.sh b/gen-protobuf.sh
index 6d07b5b..db23b81 100644
--- a/gen-protobuf.sh
+++ b/gen-protobuf.sh
@@ -1,5 +1,20 @@
 #!/usr/bin/env bash
 
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to you 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.
+
 export AVATICA_VER="rel/avatica-1.10.0"
 
 rm -rf message

http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/9fa60d9d/http_client.go
----------------------------------------------------------------------
diff --git a/http_client.go b/http_client.go
index 839ffa3..70a6b7c 100644
--- a/http_client.go
+++ b/http_client.go
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you 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 avatica
 
 import (

http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/9fa60d9d/moby.yml
----------------------------------------------------------------------
diff --git a/moby.yml b/moby.yml
index 71b47cd..130988f 100644
--- a/moby.yml
+++ b/moby.yml
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to you 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.
+#
 services:
   - id: phoenix
     image: boostport/hbase-phoenix-all-in-one:1.2-4.11

http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/9fa60d9d/result.go
----------------------------------------------------------------------
diff --git a/result.go b/result.go
index 269c878..696c6a5 100644
--- a/result.go
+++ b/result.go
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you 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 avatica
 
 import "errors"

http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/9fa60d9d/rows.go
----------------------------------------------------------------------
diff --git a/rows.go b/rows.go
index 041beb3..1d8e3eb 100644
--- a/rows.go
+++ b/rows.go
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you 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 avatica
 
 import (

http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/9fa60d9d/rows_go18.go
----------------------------------------------------------------------
diff --git a/rows_go18.go b/rows_go18.go
index 20a3648..3dcf95c 100644
--- a/rows_go18.go
+++ b/rows_go18.go
@@ -1,5 +1,22 @@
 // +build go1.8
 
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you 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 avatica
 
 import (

http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/9fa60d9d/statement.go
----------------------------------------------------------------------
diff --git a/statement.go b/statement.go
index 8c75cc7..ba231e3 100644
--- a/statement.go
+++ b/statement.go
@@ -1,10 +1,26 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you 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 avatica
 
 import (
        "database/sql/driver"
-       "time"
-
        "math"
+       "time"
 
        "github.com/apache/calcite-avatica-go/message"
        "golang.org/x/net/context"

http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/9fa60d9d/statement_go18.go
----------------------------------------------------------------------
diff --git a/statement_go18.go b/statement_go18.go
index 856f19c..c6ea56f 100644
--- a/statement_go18.go
+++ b/statement_go18.go
@@ -1,5 +1,22 @@
 // +build go1.8
 
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you 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 avatica
 
 import (

http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/9fa60d9d/transaction.go
----------------------------------------------------------------------
diff --git a/transaction.go b/transaction.go
index 624b836..1d428e4 100644
--- a/transaction.go
+++ b/transaction.go
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you 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 avatica
 
 import (

http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/9fa60d9d/wercker.yml
----------------------------------------------------------------------
diff --git a/wercker.yml b/wercker.yml
index 03888f6..de55309 100644
--- a/wercker.yml
+++ b/wercker.yml
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to you 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.
+#
 box:
   id: golang:1.8-alpine
   cmd: /bin/sh

Reply via email to