From ce67e8b53d519017d0505cb799bdf9bd9e17798c Mon Sep 17 00:00:00 2001
From: pantianying <601666418@qq.com>
Date: Fri, 5 Jul 2019 15:55:03 +0800
Subject: [PATCH] add license

---
 config/generic_reference_config.go      | 16 ++++++++++++++++
 config/generic_reference_config_test.go | 16 ++++++++++++++++
 2 files changed, 32 insertions(+)

diff --git a/config/generic_reference_config.go b/config/generic_reference_config.go
index 9a57c6d48..8a4e88df9 100644
--- a/config/generic_reference_config.go
+++ b/config/generic_reference_config.go
@@ -1,3 +1,19 @@
+/*
+ * 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 config
 
 type GenericService struct {
diff --git a/config/generic_reference_config_test.go b/config/generic_reference_config_test.go
index d912156be..027edf85b 100644
--- a/config/generic_reference_config_test.go
+++ b/config/generic_reference_config_test.go
@@ -1 +1,17 @@
+/*
+ * 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 config
-- 
GitLab