github.com/searKing/golang/go@v1.2.74/unsafe/test/example_translator_test.go (about)

     1  // Copyright 2020 The searKing Author. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package test_test
     6  
     7  // The actual test functions are in non-_test.go files
     8  // so that they can use cgo (import "C").
     9  // These wrappers are here for gotest to find.
    10  func ExampleGoStringArray() { ExampleGoStringArray() }
    11  func ExampleCStringArray()  { ExampleCStringArray() }