2
0
Fork 0
mirror of https://github.com/ii64/sonic.git synced 2026-06-21 00:46:43 +08:00

fix: fix Copyright placements

This commit is contained in:
chenzhuoyu 2021-05-29 00:15:37 +08:00
parent fbe0828190
commit 203b83a8cf
5 changed files with 16 additions and 22 deletions

View file

@ -7,4 +7,14 @@ header:
- '**/*.go'
- '**/*.s'
paths-ignore:
- 'ast/asm.s' # empty file
- 'encoder/asm.s' # empty file
- 'internal/caching/asm.s' # empty file
- 'internal/jit/asm.s' # empty file
- 'internal/native/native_amd64.s' # auto-generated by asm2asm
- 'internal/native/native_subr_amd64.go' # auto-generated by asm2asm
- 'internal/resolver/asm.s' # empty file
- 'internal/rt/asm.s' # empty file
comment: on-failure

View file

@ -1,3 +1,5 @@
// +build go1.15,!go1.16
/*
* Copyright 2021 ByteDance Inc.
*
@ -14,8 +16,6 @@
* limitations under the License.
*/
// +build go1.15,!go1.16
package loader
import (

View file

@ -1,3 +1,5 @@
// +build go1.16,!go1.17
/*
* Copyright 2021 ByteDance Inc.
*
@ -14,8 +16,6 @@
* limitations under the License.
*/
// +build go1.16,!go1.17
package loader
import (

View file

@ -1,3 +1,5 @@
// +build !go1.15 go1.17
/*
* Copyright 2021 ByteDance Inc.
*
@ -14,8 +16,6 @@
* limitations under the License.
*/
// +build !go1.15 go1.17
package loader
// triggers a compilation error

View file

@ -1,19 +1,3 @@
/*
* Copyright 2021 ByteDance 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.
*/
// +build !noasm !appengine
// Code generated by asm2asm, DO NOT EDIT.