diff options
| author | Craig Jennings <c@cjennings.net> | 2025-08-14 22:58:58 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-08-14 22:58:58 -0500 |
| commit | 82ba818ff456bcd6d56a06226e3f27e98fbb55c3 (patch) | |
| tree | 158cfc17b2f644a10f063cb546752cfaae12c97f /devdocs/go/debug%2Fbuildinfo%2Findex.html | |
| parent | 9278ddd4ea1a8b1a4c1edaa8894516e3f48d245b (diff) | |
| download | dotemacs-82ba818ff456bcd6d56a06226e3f27e98fbb55c3.tar.gz dotemacs-82ba818ff456bcd6d56a06226e3f27e98fbb55c3.zip | |
removing all downloaded devdocs files
Diffstat (limited to 'devdocs/go/debug%2Fbuildinfo%2Findex.html')
| -rw-r--r-- | devdocs/go/debug%2Fbuildinfo%2Findex.html | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/devdocs/go/debug%2Fbuildinfo%2Findex.html b/devdocs/go/debug%2Fbuildinfo%2Findex.html deleted file mode 100644 index beb6cce0..00000000 --- a/devdocs/go/debug%2Fbuildinfo%2Findex.html +++ /dev/null @@ -1,19 +0,0 @@ -<h1> Package buildinfo </h1> <ul id="short-nav"> -<li><code>import "debug/buildinfo"</code></li> -<li><a href="#pkg-overview" class="overviewLink">Overview</a></li> -<li><a href="#pkg-index" class="indexLink">Index</a></li> -</ul> <h2 id="pkg-overview">Overview </h2> <p>Package buildinfo provides access to information embedded in a Go binary about how it was built. This includes the Go toolchain version, and the set of modules used (for binaries built in module mode). </p> -<p>Build information is available for the currently running binary in runtime/debug.ReadBuildInfo. </p> <h2 id="pkg-index">Index </h2> <ul id="manual-nav"> -<li><a href="#BuildInfo">type BuildInfo</a></li> -<li> <a href="#Read">func Read(r io.ReaderAt) (*BuildInfo, error)</a> -</li> -<li> <a href="#ReadFile">func ReadFile(name string) (info *BuildInfo, err error)</a> -</li> -</ul> <h3>Package files</h3> <p> <span>buildinfo.go</span> </p> <h2 id="BuildInfo">type <span>BuildInfo</span> <span title="Added in Go 1.18">1.18</span> </h2> <p>Type alias for build info. We cannot move the types here, since runtime/debug would need to import this package, which would make it a much larger dependency. </p> -<pre data-language="go">type BuildInfo = debug.BuildInfo</pre> <h3 id="Read">func <span>Read</span> <span title="Added in Go 1.18">1.18</span> </h3> <pre data-language="go">func Read(r io.ReaderAt) (*BuildInfo, error)</pre> <p>Read returns build information embedded in a Go binary file accessed through the given ReaderAt. Most information is only available for binaries built with module support. </p> -<h3 id="ReadFile">func <span>ReadFile</span> <span title="Added in Go 1.18">1.18</span> </h3> <pre data-language="go">func ReadFile(name string) (info *BuildInfo, err error)</pre> <p>ReadFile returns build information embedded in a Go binary file at the given path. Most information is only available for binaries built with module support. </p><div class="_attribution"> - <p class="_attribution-p"> - © Google, Inc.<br>Licensed under the Creative Commons Attribution License 3.0.<br> - <a href="http://golang.org/pkg/debug/buildinfo/" class="_attribution-link">http://golang.org/pkg/debug/buildinfo/</a> - </p> -</div> |
