Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: golang/time
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.0
Choose a base ref
...
head repository: golang/time
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.7.0
Choose a head ref
  • 4 commits
  • 4 files changed
  • 4 contributors

Commits on Oct 11, 2023

  1. all: add a go directive, set it to 1.18

    Done with:
    
    go get go@1.18 toolchain@none
    go mod tidy
    go fix ./...
    
    Using go1.21.3.
    
    Otherwise the module is considered to have an implicit go 1.16 line.
    While here, drop the by-now-always-satisfied go1.7 build constraint.
    
    For golang/go#60268.
    
    Change-Id: Ie0216c6f22c5e25321042e1b7bdaa59f3c3ae843
    Reviewed-on: https://go-review.googlesource.com/c/time/+/534243
    Reviewed-by: Ian Lance Taylor <iant@google.com>
    Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    dmitshur authored and gopherbot committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    b24d3b5 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2023

  1. rate: add documentation on Limiter concurrent usage

    Closes golang/go#17261
    
    Change-Id: Ifeacc8df45fb59e7781ddcc35c2fde0aa80188eb
    Reviewed-on: https://go-review.googlesource.com/c/time/+/530855
    Auto-Submit: Sameer Ajmani <sameer@golang.org>
    Reviewed-by: Michael Knyszek <mknyszek@google.com>
    Reviewed-by: Sameer Ajmani <sameer@golang.org>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    kamikazechaser authored and gopherbot committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    883aed5 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. LICENSE: update per Google Legal

    Very minor tweaks:
     - Remove (c) pseudosymbol.
     - Remove "All Rights Reserved."
     - Change "Google Inc." (no longer exists) to "Google LLC".
    
    [git-generate]
    echo '
    ,s/\(c\) //
    ,s/ All rights reserved.//
    ,s/Google Inc./Google LLC/
    w
    q
    ' | sam -d LICENSE
    
    Change-Id: Iaff5a0b4df05a69b33e2aa63f42e2476c255952d
    Reviewed-on: https://go-review.googlesource.com/c/time/+/598529
    Auto-Submit: Russ Cox <rsc@golang.org>
    Reviewed-by: Ian Lance Taylor <iant@google.com>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    rsc authored and gopherbot committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    5d9ef58 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. x/time/rate: correctly handle 0 limits

    Decrementing the burst in the reserveN method will frequently lead to us
    setting the burst to 0 which makes the limiter mostly unusable.
    
    This code was originally added in https://go.dev/cl/323429 to fix #39984
    but the implementation introduced a different bug. To avoid regressing
    to the behaviour described in #39984, pre-fill the limiter to the burst
    value in the constructor.
    
    Fixes #68541
    
    Change-Id: Iab3b85d548a44fcb2d058336e5bbf11b19ea67b1
    Reviewed-on: https://go-review.googlesource.com/c/time/+/600876
    Reviewed-by: Sameer Ajmani <sameer@golang.org>
    LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: Michael Knyszek <mknyszek@google.com>
    Auto-Submit: Sameer Ajmani <sameer@golang.org>
    leesio authored and gopherbot committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    772484e View commit details
    Browse the repository at this point in the history
Loading