Merge pull request #1294 from zsh-users/update_go

Update go completion to version 1.27.0
This commit is contained in:
Shohei YOSHIDA 2026-08-21 09:11:08 +09:00 committed by GitHub
commit 8cd3bd78e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -30,7 +30,7 @@
# Description # Description
# ----------- # -----------
# #
# Completion script for go 1.26.0 (https://go.dev/). # Completion script for go 1.27.0 (https://go.dev/).
# #
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Authors # Authors
@ -484,6 +484,7 @@ case $state in
'-all[show all the documentation for the package]' \ '-all[show all the documentation for the package]' \
'-c[respect case when matching symbols]' \ '-c[respect case when matching symbols]' \
'-cmd[treat a command (package main) like a regular package]' \ '-cmd[treat a command (package main) like a regular package]' \
'-ex[include executable examples]' \
'-http[serve HTML docs over HTTP]' \ '-http[serve HTML docs over HTTP]' \
'-short[one-line representation for each symbol]' \ '-short[one-line representation for each symbol]' \
'-src[show the full source code for the symbol]' \ '-src[show the full source code for the symbol]' \
@ -1009,6 +1010,8 @@ case $state in
'-libgcc[compiler support lib for internal linking; use "none" to disable]:lib:(none)' \ '-libgcc[compiler support lib for internal linking; use "none" to disable]:lib:(none)' \
'-linkmode[set link mode]:mode:(internal external auto)' \ '-linkmode[set link mode]:mode:(internal external auto)' \
'-linkshared[link against installed Go shared libraries]' \ '-linkshared[link against installed Go shared libraries]' \
'-macos[mac OS version to write in build info]:version' \
'-macossdk[mac SDK version to write in build info]:version' \
'-memprofile[write memory profile to file]:file' \ '-memprofile[write memory profile to file]:file' \
'-memprofilerate[set runtime.MemProfileRate to rate]:rate' \ '-memprofilerate[set runtime.MemProfileRate to rate]:rate' \
'-msan[enable MSan interface]' \ '-msan[enable MSan interface]' \