github.com/networkservicemesh/govpp@v0.0.0-20240328101142-8a444680fbba/.ci/license/README.md (about)

     1  ## Copyright headers for source code
     2  This folder contains the copyright templates for source files of NSM project.
     3  
     4  Below is an example of valid copyright header for `.go` files:
     5  ```
     6  // Copyright (c) 2020 Doc.ai and/or its affiliates.
     7  //
     8  // Copyright (c) 2020 Cisco and/or its affiliates.
     9  //
    10  // SPDX-License-Identifier: Apache-2.0
    11  //
    12  // Licensed under the Apache License, Version 2.0 (the "License");
    13  // you may not use this file except in compliance with the License.
    14  // You may obtain a copy of the License at:
    15  //
    16  //     http://www.apache.org/licenses/LICENSE-2.0
    17  //
    18  // Unless required by applicable law or agreed to in writing, software
    19  // distributed under the License is distributed on an "AS IS" BASIS,
    20  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    21  // See the License for the specific language governing permissions and
    22  // limitations under the License.
    23  ```
    24  Note you can use your company name instead of `Cisco and/or its affiliates`.
    25  Also, source code files can have multi copyright holders, for example:
    26  ```
    27  // Copyright (c) 2020 Doc.ai and/or its affiliates.
    28  //
    29  // Copyright (c) 2020 Cisco and/or its affiliates.
    30  //
    31  // Copyright (c) 2020 Red Hat Inc. and/or its affiliates.
    32  //
    33  // Copyright (c) 2020 VMware, Inc.
    34  //
    35  // SPDX-License-Identifier: Apache-2.0
    36  //
    37  // Licensed under the Apache License, Version 2.0 (the "License");
    38  // you may not use this file except in compliance with the License.
    39  // You may obtain a copy of the License at:
    40  //
    41  //     http://www.apache.org/licenses/LICENSE-2.0
    42  //
    43  // Unless required by applicable law or agreed to in writing, software
    44  // distributed under the License is distributed on an "AS IS" BASIS,
    45  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    46  // See the License for the specific language governing permissions and
    47  // limitations under the License.
    48  ```