diff --git a/patterns/documentation.md b/patterns/documentation.md index ecdad79..72a06f8 100644 --- a/patterns/documentation.md +++ b/patterns/documentation.md @@ -302,7 +302,7 @@ for inline (use Example functions instead); examples that reference unexported s // log.Fatal(err) // } -// time/time.go:928-933 +// time/time.go:925-933 // To count the number of units in a [Duration], divide: // // second := time.Second diff --git a/patterns/style.md b/patterns/style.md index 0e76868..7884440 100644 --- a/patterns/style.md +++ b/patterns/style.md @@ -256,7 +256,7 @@ run earlier. **Code examples from source:** ```go -// net/http/server.go:3173-3174 +// net/http/server.go:3171-3174 func (s *Server) Close() error { s.inShutdown.Store(true) s.mu.Lock() @@ -448,7 +448,7 @@ const ( // ... ) -// time/time.go:936-943 +// time/time.go:934-942 const ( Nanosecond Duration = 1 Microsecond = 1000 * Nanosecond