cgodepfixture

package
v0.0.0-...-f725ab5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package cgodepfixture is a cgo-detection fixture for document 16 section 9.5. It is pure Go itself, with no C import of its own, but it imports runtime/cgo, a cgo package, so it stands for the shape the detector must catch: a library an author reaches through go: that is not cgo on its face but pulls a cgo package in transitively. The detector reports the runtime/cgo dependency, not this package, as the cgo library, which is what proves it walks the whole import graph rather than only looking at the named package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marker

func Marker() int

Marker is a plain function so the package holds ordinary pure-Go code the detector must not mistake for cgo; the cgo comes only from the import above.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL