From 61de0b0a154234bcedfaded368a9157ce1e186f2 Mon Sep 17 00:00:00 2001 From: Kyle Xiao Date: Thu, 18 Jul 2024 15:17:31 +0800 Subject: [PATCH] chore: add file headers --- protocol/thrift/binaryreader.go | 16 ++++++++++++++++ protocol/thrift/binaryreader_test.go | 16 ++++++++++++++++ protocol/thrift/binarywriter.go | 16 ++++++++++++++++ protocol/thrift/binarywriter_test.go | 16 ++++++++++++++++ protocol/thrift/utils.go | 16 ++++++++++++++++ 5 files changed, 80 insertions(+) diff --git a/protocol/thrift/binaryreader.go b/protocol/thrift/binaryreader.go index ca1533f..8d2b104 100644 --- a/protocol/thrift/binaryreader.go +++ b/protocol/thrift/binaryreader.go @@ -1,3 +1,19 @@ +/* + * Copyright 2024 CloudWeGo Authors + * + * 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 thrift import ( diff --git a/protocol/thrift/binaryreader_test.go b/protocol/thrift/binaryreader_test.go index c5eabc1..abca126 100644 --- a/protocol/thrift/binaryreader_test.go +++ b/protocol/thrift/binaryreader_test.go @@ -1,3 +1,19 @@ +/* + * Copyright 2024 CloudWeGo Authors + * + * 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 thrift import ( diff --git a/protocol/thrift/binarywriter.go b/protocol/thrift/binarywriter.go index f0b18df..d77636e 100644 --- a/protocol/thrift/binarywriter.go +++ b/protocol/thrift/binarywriter.go @@ -1,3 +1,19 @@ +/* + * Copyright 2024 CloudWeGo Authors + * + * 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 thrift import ( diff --git a/protocol/thrift/binarywriter_test.go b/protocol/thrift/binarywriter_test.go index 4876edf..ee77817 100644 --- a/protocol/thrift/binarywriter_test.go +++ b/protocol/thrift/binarywriter_test.go @@ -1,3 +1,19 @@ +/* + * Copyright 2024 CloudWeGo Authors + * + * 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 thrift import ( diff --git a/protocol/thrift/utils.go b/protocol/thrift/utils.go index 2553b43..756af5f 100644 --- a/protocol/thrift/utils.go +++ b/protocol/thrift/utils.go @@ -1,3 +1,19 @@ +/* + * Copyright 2024 CloudWeGo Authors + * + * 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 thrift import (