github.com/glimps-jbo/go-licenses@v0.0.0-20230908151000-e06d3c113277/licenses/testdata/testdata.go (about)

     1  // Copyright 2019 Google Inc. All Rights Reserved.
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  package testdata
    16  
    17  import (
    18  	// This import should be detected by library_test.go. It has to be a
    19  	// package that isn't in the standard library and has a separate license
    20  	// file to the one covering the Trillian repository, so that it's detected
    21  	// as being an external dependency.
    22  	_ "github.com/glimps-jbo/go-licenses/licenses/testdata/direct"
    23  
    24  	// This import should be ignored, since it's an internal dependency.
    25  	_ "github.com/glimps-jbo/go-licenses/licenses/testdata/internal"
    26  
    27  	// This import should be ignored, since it's an standard library package.
    28  	_ "strings"
    29  )