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: hhool/example
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: golang/example
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 14 commits
  • 24 files changed
  • 9 contributors

Commits on Aug 26, 2024

  1. ragserver: start adding new example of a RAG server in Go

    Change-Id: I256449c9cd97ef53251e326d943858c237b4ea16
    Reviewed-on: https://go-review.googlesource.com/c/example/+/608055
    Reviewed-by: Ian Lance Taylor <[email protected]>
    Auto-Submit: Eli Bendersky <[email protected]>
    TryBot-Bypass: Eli Bendersky <[email protected]>
    Reviewed-by: Eli Bendersky <[email protected]>
    eliben authored and gopherbot committed Aug 26, 2024
    Copy the full SHA
    f942a68 View commit details

Commits on Aug 27, 2024

  1. ragserver: add ragserver-langchaingo variant

    Change-Id: I76c6fc25ee8cf6a8c97ed23502b116aa3d3a6041
    Reviewed-on: https://go-review.googlesource.com/c/example/+/608735
    Reviewed-by: Ian Lance Taylor <[email protected]>
    TryBot-Bypass: Eli Bendersky <[email protected]>
    Reviewed-by: Eli Bendersky <[email protected]>
    Auto-Submit: Eli Bendersky <[email protected]>
    eliben authored and gopherbot committed Aug 27, 2024
    Copy the full SHA
    131af90 View commit details

Commits on Aug 30, 2024

  1. ragserver: add ragserver-genkit variant

    Change-Id: I9e34c00ea00a01190e898c4de236061da1e1f55e
    Reviewed-on: https://go-review.googlesource.com/c/example/+/608737
    Auto-Submit: Eli Bendersky <[email protected]>
    TryBot-Bypass: Eli Bendersky <[email protected]>
    Reviewed-by: Jonathan Amsterdam <[email protected]>
    Reviewed-by: Eli Bendersky <[email protected]>
    Reviewed-by: Ian Lance Taylor <[email protected]>
    eliben authored and gopherbot committed Aug 30, 2024
    Copy the full SHA
    88ba6f5 View commit details

Commits on Sep 3, 2024

  1. ragserver: fix other variants to be similar to ragserver-genkit

    Apply suggestions from go.dev/cl/608737 to the other ragserver variants
    
    Change-Id: I627cec1ff21c8f7c1b1d257b542435793ade680d
    Reviewed-on: https://go-review.googlesource.com/c/example/+/609305
    TryBot-Bypass: Eli Bendersky <[email protected]>
    Auto-Submit: Eli Bendersky <[email protected]>
    Reviewed-by: Ian Lance Taylor <[email protected]>
    Reviewed-by: Eli Bendersky <[email protected]>
    eliben authored and gopherbot committed Sep 3, 2024
    Copy the full SHA
    0349f37 View commit details

Commits on Sep 6, 2024

  1. all: fix some typos

    Change-Id: Id2b7fbb263d08103e17d2dc74454071fb3993586
    Reviewed-on: https://go-review.googlesource.com/c/example/+/552396
    Run-TryBot: shuang cui <[email protected]>
    Auto-Submit: Dmitri Shuralyov <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    TryBot-Bypass: Dmitri Shuralyov <[email protected]>
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    Reviewed-by: Michael Pratt <[email protected]>
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    cuishuang authored and gopherbot committed Sep 6, 2024
    Copy the full SHA
    4e46ff5 View commit details

Commits on Sep 16, 2024

  1. ragserver: fix typos

    Change-Id: Ibbaf613d84b76e78eaf001d082b505e24885d4d6
    Reviewed-on: https://go-review.googlesource.com/c/example/+/613276
    Reviewed-by: Ian Lance Taylor <[email protected]>
    TryBot-Bypass: Ian Lance Taylor <[email protected]>
    Auto-Submit: Ian Lance Taylor <[email protected]>
    Reviewed-by: Eli Bendersky <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    Run-TryBot: Dan Peterson <[email protected]>
    danp authored and gopherbot committed Sep 16, 2024
    Copy the full SHA
    f3623ff View commit details

Commits on Sep 25, 2024

  1. ragserver-langchaingo: update to newer version of grpc

    I ran
        go get go get google.golang.org/grpc
        go mod tidy
    
    This turns off a GitHub Dependabot alert.
    Version 1.64.0 is reported to have a minor vulnerability.
    
    Change-Id: I0b7d05edc9001cf85bd5e7d9dc4bc534261f355a
    Reviewed-on: https://go-review.googlesource.com/c/example/+/615555
    Reviewed-by: Eli Bendersky <[email protected]>
    Reviewed-by: Ian Lance Taylor <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Commit-Queue: Ian Lance Taylor <[email protected]>
    Auto-Submit: Ian Lance Taylor <[email protected]>
    ianlancetaylor authored and gopherbot committed Sep 25, 2024
    Copy the full SHA
    1a5e218 View commit details

Commits on Oct 14, 2024

  1. gotypes tutorial: update for Aliases

    This CL updates the tutorial to mention (materialized) aliases
    and the upcoming parameterized aliases of go1.24.
    We don't yet attempt a thorough treatment of generics.
    
    It also corrects a number of other obsolete or inaccurate
    statements.
    
    Change-Id: I2bbdc1a9000eb5bd214620c511d7e60692b4d9de
    Reviewed-on: https://go-review.googlesource.com/c/example/+/620075
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Robert Findley <[email protected]>
    adonovan committed Oct 14, 2024
    Copy the full SHA
    d7b0ac1 View commit details

Commits on Dec 16, 2024

  1. slog-handler-guide: fix typo, tweak phrasing

    Fix one typo and improve the clarity and phrasing of some prose.
    
    Change-Id: I4cec5b052df0d33f6e4a3f2751313b3c1d59ae2c
    Reviewed-on: https://go-review.googlesource.com/c/example/+/636275
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Alan Donovan <[email protected]>
    Reviewed-by: Ian Lance Taylor <[email protected]>
    jba committed Dec 16, 2024
    Copy the full SHA
    40afcb7 View commit details

Commits on Mar 26, 2025

  1. slog-handler-guide: warn against embedding

    For golang/go#73057.
    
    Change-Id: Id9ee1c0af03f9b49f6063aa946b6fe5cfbc02483
    Reviewed-on: https://go-review.googlesource.com/c/example/+/660956
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    jba committed Mar 26, 2025
    Copy the full SHA
    398e112 View commit details

Commits on Apr 7, 2025

  1. slog-handler-guide: remove doubled word

    Change-Id: I2fc1ead51b4da07a56201ceab4abd4f9e0643294
    GitHub-Last-Rev: bca7c8e
    GitHub-Pull-Request: golang#38
    Reviewed-on: https://go-review.googlesource.com/c/example/+/662795
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    Reviewed-by: Jonathan Amsterdam <[email protected]>
    Auto-Submit: Dmitri Shuralyov <[email protected]>
    Reviewed-by: Sean Liao <[email protected]>
    bitlux authored and gopherbot committed Apr 7, 2025
    Copy the full SHA
    dd59d68 View commit details

Commits on Apr 15, 2025

  1. example/weave: update TOC anchors to remove **, _, and `

    When GitHub's Markdown parser creates anchors for sections, it removes
    formatting directives like **, _, and `. See the discussion at
    https://support.github.com/ticket/personal/0/3324945
    
    The links to the sections with formatting directives in the current TOC at https://github.com/golang/example/blob/master/slog-handler-guide/README.md
    are broken for this reason.
    
    This change modifies weave to also remove those characters from the
    anchor links it generates.
    
    This change also replaces the deprecated os.SET_SEEK with io.SeekStart
    and removes two unused functions.
    
    Change-Id: I66e3aa8140e14146bdb349c4ccfb773fe7414c67
    Reviewed-on: https://go-review.googlesource.com/c/example/+/664015
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Jonathan Amsterdam <[email protected]>
    Reviewed-by: Junyang Shao <[email protected]>
    bitlux authored and jba committed Apr 15, 2025
    Copy the full SHA
    24b880c View commit details

Commits on Apr 25, 2025

  1. example/slog-handler-guide: run make

    This change is the result of running `make` to produce README.md from
    guide.md. It appears that the last time `make` was run was
    2024-09-06 for 4e46ff5. I confirmed that all diffs to README.md
    were deliberately introduced to guide.md (in 398e112 and 40afcb7).
    
    In addition, one change to README.md (32022ca) was backported to
    guide.md.
    
    Change-Id: I6a27b8d128630f7f7e5799ad963fd96fb33ac3df
    Reviewed-on: https://go-review.googlesource.com/c/example/+/668075
    Reviewed-by: Junyang Shao <[email protected]>
    Reviewed-by: Jonathan Amsterdam <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Auto-Submit: Jonathan Amsterdam <[email protected]>
    bitlux authored and gopherbot committed Apr 25, 2025
    Copy the full SHA
    f8bc3a0 View commit details

Commits on May 20, 2025

  1. weave: fix %include parsing, add highlighting

    Recognize that
    
      %include file -
    
    means "no tag, no caption" instead of "the tag is -, add caption."
    
    Write "go" after backticks, which GitHub will render with syntax
    highlighting.
    
    Change-Id: I9e0b3618b5fba8834d7f06b8fc7adf0781574a2d
    Reviewed-on: https://go-review.googlesource.com/c/example/+/673875
    Reviewed-by: Alan Donovan <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    jba committed May 20, 2025
    Copy the full SHA
    e8420e4 View commit details