Web This site Trusted
30 result(s) for “if can favor site code web de site www nid nl nil gov site:go.dev” of 70 matched · 937 ms
Scope: Nishi’s own index (our crawl + Common Crawl) — not the whole live web. Some sites block all automated crawlers (anti-bot walls), so their pages may be absent here even though we never filter lawful content.
Freshness: newest result fetched 25 d ago · median age of these results 25 d · 26 of 30 carry a fetch time
dev web site, such as this one (if necessary, click on the word "Example" to open it up)
from the top result below
https://go.dev/doc/effective_go
dev web site, such as this one (if necessary, click on the word "Example" to open it up)
https://go.dev/doc/faq
The “golang” moniker arose because the web site was originally golang
https://go.dev/blog/errors-are-values
Of course a common statement involving an error value is to test whether it is nil, but there are countless other things one can do with an error value, and application of some of those other things can make your program better, eliminating much of the boilerplate that arises if every error is checked with a rote if
https://pkg.go.dev/strings?tab=doc
If substr is an empty string, Count returns 1 + the number of Unicode code points in s
https://pkg.go.dev/bytes
If sep is an empty slice, Count returns 1 + the number of UTF-8-encoded code points in s
https://pkg.go.dev/github.com/calmw/ethereum/core/types
with Go developers from around the world
Go blog
The Go project's official blog
https://go.dev/pkg/testing
If the file can't be written at that location (for example, because the directory is read-only), the fuzzing engine writes the file to the fuzz cache directory within the build cache instead
https://go.dev/blog/greenteagc
Heap objects are created when the Go compiler can’t figure out how else to allocate memory for a value
https://go.dev/blog/gofix
Go fix uses a suite of algorithms to identify opportunities to improve your code, often by taking advantage of more modern features of the language and library
https://go.dev/blog/experiment
The Four R’s of Simplifying
During this process, there are four main ways that we can simplify the overall experience of writing Go programs: reshaping, redefining, removing, and restricting
https://go.dev/pkg/net/http/
Go to latest Published: Jul 7, 2026 License: BSD-3-Clause
Opens a new window with license information
https://go.dev/blog/feed.atom
If we have too many specialized functions and they’re not available in the cache, the overhead to retrieve the specialized code into the cache can cancel out any benefits
https://go.dev/doc/gc-guide
The Go language takes responsibility for arranging the storage of Go values; in most cases, a Go developer need not care about where these values are stored, or why, if at all
https://go.dev/ref/spec
Implementation restriction: For compatibility with other tools, a compiler may ignore a UTF-8-encoded byte order mark (U+FEFF) if it is the first Unicode code point in the source text
https://go.dev/pkg/cmd/go/
By default, if a vendor directory is present and the go version in go
https://go.dev/ref/mod
If a module might be depended on by other modules, these rules must be followed so that the go command can find and download the module
https://pkg.go.dev/golang.org/x/pkgsite@v0.5.0/internal/worker
It returns an HTTP status code representing the result of the fetch operation, and a non-nil error if this status code is not 200
https://go.dev/pkg/runtime/pprof
On Unix-like systems, StartCPUProfile does not work by default for Go code built with -buildmode=c-archive or -buildmode=c-shared
https://pkg.go.dev/golang.org/x/pkgsite@v0.5.0/internal/licenses
AcceptedLicenseInfo describes a license that is accepted by the discovery site
https://go.dev/blog/flight-recorder
The Go runtime can be made to write a log recording many of the events that happen during the execution of a Go application
https://go.dev/blog/goroutine-leak-profiles
25 introduced the synctest package to the standard library; it can significantly improve the quality of unit tests in concurrent code by giving Go developers more control over the ordering of concurrent events in order to reliably test hard-to-reproduce scenarios
https://go.dev/blog/execution-traces-2024
Go developers are even able to instrument their own programs with tasks, regions, and logs that they can use to correlate their higher-level concerns with lower-level execution details
https://go.dev/blog/playground
In September 2010 we introduced the Go Playground, a web service that compiles and executes arbitrary Go code and returns the program output
https://pkg.go.dev/golang.org/x/pkgsite@v0.5.0/internal/frontend/versions
func LinkVersion(modulePath, requestedVersion, resolvedVersion string) string
LinkVersion returns the version string, suitable for use in a link to this site
https://go.dev/pkg/go/build/
If DIR is a directory listed in the Go path, a package with source in DIR/src/foo/bar can be imported as "foo/bar" and has its compiled form installed to "DIR/pkg/GOOS_GOARCH/foo/bar
https://pkg.go.dev/io
If buf is nil, one is allocated; otherwise if it has zero length, CopyBuffer panics
https://go.dev/blog/go1.13-errors
The pattern of one error containing another is so pervasive in Go code that, after extensive discussion, Go 1
https://pkg.go.dev/builtin
Slice: the maximum length the slice can reach when resliced; if v is nil, cap(v) is zero
https://pkg.go.dev/runtime/debug?tab=doc
2
SetMaxThreads sets the maximum number of operating system threads that the Go program can use
https://pkg.go.dev/golang.org/x/pkgsite@v0.5.0/internal/fetch
But HasGoMod will be populated even if Module is nil
// because there were problems with it, as long as we can download and read the zip