Граф коммитов

63 Коммитов

Автор SHA1 Сообщение Дата
Dan Peterson f3623ff43a ragserver: fix typos
Change-Id: Ibbaf613d84b76e78eaf001d082b505e24885d4d6
Reviewed-on: https://go-review.googlesource.com/c/example/+/613276
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Bypass: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Dan Peterson <danp@danp.net>
2024-09-16 21:33:19 +00:00
cui fliter 4e46ff54a6 all: fix some typos
Change-Id: Id2b7fbb263d08103e17d2dc74454071fb3993586
Reviewed-on: https://go-review.googlesource.com/c/example/+/552396
Run-TryBot: shuang cui <imcusg@gmail.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
TryBot-Bypass: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2024-09-06 15:05:55 +00:00
Eli Bendersky 0349f379ae 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 <eliben@google.com>
Auto-Submit: Eli Bendersky <eliben@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
2024-09-03 12:38:35 +00:00
Eli Bendersky 88ba6f5abf ragserver: add ragserver-genkit variant
Change-Id: I9e34c00ea00a01190e898c4de236061da1e1f55e
Reviewed-on: https://go-review.googlesource.com/c/example/+/608737
Auto-Submit: Eli Bendersky <eliben@google.com>
TryBot-Bypass: Eli Bendersky <eliben@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2024-08-30 17:11:55 +00:00
Eli Bendersky 131af90c46 ragserver: add ragserver-langchaingo variant
Change-Id: I76c6fc25ee8cf6a8c97ed23502b116aa3d3a6041
Reviewed-on: https://go-review.googlesource.com/c/example/+/608735
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Bypass: Eli Bendersky <eliben@google.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
Auto-Submit: Eli Bendersky <eliben@google.com>
2024-08-27 13:55:51 +00:00
Eli Bendersky f942a68fe2 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 <iant@google.com>
Auto-Submit: Eli Bendersky <eliben@google.com>
TryBot-Bypass: Eli Bendersky <eliben@google.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
2024-08-26 19:01:07 +00:00
Russ Cox 39e772fc26 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: I450cba7aff2cb2360dafb238cefd9864c232ac1d
Reviewed-on: https://go-review.googlesource.com/c/example/+/598577
Commit-Queue: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Russ Cox <rsc@golang.org>
TryBot-Bypass: Russ Cox <rsc@golang.org>
2024-07-16 16:15:37 +00:00
Aleksandr Shalimov 32022caedd slog-handler-guide/README.md: fix word duplication
Change-Id: Id17b4acd73e237813292a63112b30e915d652bd4
GitHub-Last-Rev: 2052832a0d
GitHub-Pull-Request: golang/example#29
Reviewed-on: https://go-review.googlesource.com/c/example/+/550196
Reviewed-by: qiulaidongfeng <2645477756@qq.com>
Run-TryBot: qiulaidongfeng <2645477756@qq.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
TryBot-Bypass: Jonathan Amsterdam <jba@google.com>
2024-02-05 18:00:59 +00:00
Alan Donovan 1d6d2400d4 gotypes: stop directing people to golang.org/x/tools/go/loader
It is very obsolete. Use go/packages instead.

Also, add a go generate command to weave the README.

Fixes golang/go#60593

Change-Id: Ifaf3ffa588dc3e65fb1e96b39b249a9084d66451
Reviewed-on: https://go-review.googlesource.com/c/example/+/534695
Reviewed-by: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
Auto-Submit: Alan Donovan <adonovan@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Commit-Queue: Alan Donovan <adonovan@google.com>
2023-10-13 14:39:37 +00:00
Jonathan Amsterdam d9923f6970 slog-handler-guide: fix link, mention ReplaceAttr
- Fix a broken link.

- When discussing handler options, mention ReplaceAttr.

This were both suggested by Peter Aronoff (peteraronoff@fastmail.com)
in a direct email.

Change-Id: I286142a1c5736691e32042e383f9a98e78f0fb49
Reviewed-on: https://go-review.googlesource.com/c/example/+/524758
Commit-Queue: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
TryBot-Bypass: Jonathan Amsterdam <jba@google.com>
2023-09-01 16:54:30 +00:00
Jonathan Amsterdam 9fd7daa707 slog-handler-guide: prose tweak, re-make README
Change-Id: I470379d7ff14e8d3233556d70e499b19736f27a6
Reviewed-on: https://go-review.googlesource.com/c/example/+/515556
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2023-08-10 18:59:35 +00:00
Jonathan Amsterdam a16ef21b42 slog-handler-guide: minor prose tweaks
Change-Id: Ie5299ec0f6e9d1936281152290edf397a0956b90
Reviewed-on: https://go-review.googlesource.com/c/example/+/514055
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-08-03 21:41:42 +00:00
Jonathan Amsterdam 344698fc2a slog-handler-guide: speed section
Change-Id: If06f51747e6e4926d95e88840ab5fdce5f9a0189
Reviewed-on: https://go-review.googlesource.com/c/example/+/513457
Reviewed-by: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
2023-08-03 21:41:35 +00:00
Russ Cox 17e2836bb6 hello/reverse: add example example test
This will be linked from an updated go.dev/blog/examples.

For #61722.

Change-Id: I329141141e0590a6d7ee0b6b504c8f7bdc9c2d5f
Reviewed-on: https://go-review.googlesource.com/c/example/+/515237
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2023-08-02 21:57:33 +00:00
Russ Cox 19299f6048 helloserver: implement -g flag
It was documented and parsed but not used.

Change-Id: I4c19429b3761819b3bae70f06fc2b55431c0f88c
Reviewed-on: https://go-review.googlesource.com/c/example/+/514578
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Russ Cox <rsc@golang.org>
2023-07-31 22:03:21 +00:00
Russ Cox 0c9b5c54f5 outyet: update example, make a separate module
We want to revive golang.org/x/example as a test case for
an experiment with a 'gonew' command.

This CL updates outyet to be a gonew-able sample server,
by making it its own module. The CL also removes
Dockerfile and containers.yaml because I think the
best practices around those files have evolved too much
since 2015 when they were written.

Change-Id: I53faf4b30de9e4ef3bfe35a781732daa140a9877
Reviewed-on: https://go-review.googlesource.com/c/example/+/513998
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Cameron Balahan <cbalahan@google.com>
2023-07-31 13:18:03 +00:00
Russ Cox 3dc2413024 helloserver: add basic hello world web server
We want to revive golang.org/x/example as a test case for
an experiment with a 'gonew' command.

This CL adds a basic "hello, world" web server as
golang.org/x/example/helloserver.

Change-Id: Icf76c756f7b256285d4c5e6a33655996597eb2da
Reviewed-on: https://go-review.googlesource.com/c/example/+/513997
Auto-Submit: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Cameron Balahan <cbalahan@google.com>
2023-07-31 13:18:01 +00:00
Russ Cox 1bcfdd08c5 hello: create new standalone module example
We want to revive golang.org/x/example as a test case for
an experiment with a 'gonew' command.

This CL changes the hello world program to be standalone
and demonstrate a bit more about flag parsing and command-line
logging.

Change-Id: Iee481344c801f046813806a537d59e3242f9152a
Reviewed-on: https://go-review.googlesource.com/c/example/+/513996
Reviewed-by: Cameron Balahan <cbalahan@google.com>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
2023-07-31 13:17:58 +00:00
Russ Cox 00c7068f9d all: update to Go license
For reasons that are lost to history, this repo was not using the
standard Go license even though it is part of the Go project.
Fix that, relicensing the code under the standard Go license
and patent grant.

Change-Id: I4b59aa0e20339afdf291b2303b0648ca953520fe
Reviewed-on: https://go-review.googlesource.com/c/example/+/513995
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Cameron Balahan <cbalahan@google.com>
2023-07-31 13:17:55 +00:00
Jonathan Amsterdam 6088d5b0e0 slog-handler-guide: discuss Record.Clone
Change-Id: I55c6367da953b9a59c4d5cd8ca817d3c051e12de
Reviewed-on: https://go-review.googlesource.com/c/example/+/513138
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
2023-07-26 19:22:20 +00:00
Jonathan Amsterdam b766721567 slog-handler-guide: add testing section
View at https://github.com/jba/markdown#testing.

Change-Id: I0d8996395b03c3d1c7b7e50cce323a331fd614e1
Reviewed-on: https://go-review.googlesource.com/c/example/+/513137
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
2023-07-26 19:22:15 +00:00
Jonathan Amsterdam 4228a155ff slog-handler-guide: explain pointer to mutex
Change-Id: Icfca54f04ff1fcc2c2b36cb0ccde1efd49e034f4
Reviewed-on: https://go-review.googlesource.com/c/example/+/512999
Reviewed-by: Ian Cottrell <iancottrell@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-07-26 19:22:07 +00:00
Jonathan Amsterdam 94c9d89053 slog-handler-guide: preformatting
Change-Id: Ib1e64bafc76c296aa0ffb40d754d6e41fe69a33e
Reviewed-on: https://go-review.googlesource.com/c/example/+/511638
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2023-07-26 18:35:42 +00:00
Jonathan Amsterdam 183ca08161 slog-handler-guide: WithXXX methods without pre-formatting
Change-Id: Ia95d8ddd50eb72bef057768d88b216d7b9809c58
Reviewed-on: https://go-review.googlesource.com/c/example/+/511576
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2023-07-26 00:05:23 +00:00
Jonathan Amsterdam f15fe1c962 slog-handler-guide: handler example: Enabled method
Change-Id: I193980beda71ab8e20ccdd8a4eb0d72a9d2b32a0
Reviewed-on: https://go-review.googlesource.com/c/example/+/509956
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2023-07-25 23:37:31 +00:00
Jonathan Amsterdam f37d043b20 slog-handler-guide: appendAttrs method
Change-Id: Ib2ba817b456ceb8c8b697d3ee24ba6c2884c942b
Reviewed-on: https://go-review.googlesource.com/c/example/+/511635
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-07-25 23:36:40 +00:00
Jonathan Amsterdam 29ffb748dd slog-handler-guide: handler example: Handle method
Pull the discussion of the Handle method up.
It makes more sense to talk about it before WithGroup and WithAttrs.

Change-Id: I01a1b4b98131079cf74d2d965742a48acf5c3407
Reviewed-on: https://go-review.googlesource.com/c/example/+/509957
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
2023-07-25 23:35:54 +00:00
Jonathan Amsterdam 7137c6b752 slog-handler-guide: handler example: types
Begin discussing a running example of a slog.Handler implementation.

Initially we'll ignore the WithAttrs and WithGroup methods.
The implementation that does that is in indenthandler1.
This CL contains the complete implementation, but discusses
only the types and constructor function.

Change-Id: I3b635aee66a6d5df64bc13ce6bfb7ae4881606fe
Reviewed-on: https://go-review.googlesource.com/c/example/+/509955
Reviewed-by: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
2023-07-25 23:35:29 +00:00
Jonathan Amsterdam 72e55f1f1d slog-handler-guide: guide to writing a slog Handler
Add a document for helping writers of slog handlers.

Change-Id: I079b738d1109a5e1d555c5dfb81eabf1d187f907
Reviewed-on: https://go-review.googlesource.com/c/example/+/494576
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2023-07-25 21:09:10 +00:00
Jonathan Amsterdam 83a29069fa slog-handler-guide/README.md: stub
Add a file that will ultimately contain a guide to writing slog handlers.

This CL just creates the file so we can make a shortlink to it.

Change-Id: Ic31e62c6d92a480ecb7ba03cf052ca375f5abb94
Reviewed-on: https://go-review.googlesource.com/c/example/+/509735
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
2023-07-14 14:12:44 +00:00
Jonathan Amsterdam d23394f89d go.mod: change go version to 1.18
This will enable generics in examples for the slog handler guide.

Change-Id: I8fe2d876961899c15511226d29e1e5c2ef72519b
Reviewed-on: https://go-review.googlesource.com/c/example/+/509100
Reviewed-by: Alan Donovan <adonovan@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
2023-07-13 18:10:35 +00:00
Jonathan Amsterdam 5bec756976 internal/cmd/weave: minor improvements
- Add some documentation.
- Check bufio.Scanner errors.
- Generalize the package path in caption output.

Change-Id: I1f30b555ec8533464fb29af05fdcb0c5d926c18e
Reviewed-on: https://go-review.googlesource.com/c/example/+/494596
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
2023-05-15 18:31:14 +00:00
Jonathan Amsterdam 61060d64ef gotypes: re-make README.md
Regenerate README.md from go-types.md. There are minor changes,
mostly removals of line-ending spaces.

Change-Id: I83ba4b385de44e0dd2c61f5f3019d08a24ebad29
Reviewed-on: https://go-review.googlesource.com/c/example/+/494595
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
2023-05-12 19:55:39 +00:00
Jonathan Amsterdam 1d341ffebc cmd/weave: move weave to a common location
Move the weave program out of the gotypes directory
so it can be used by other example documents.

It will soon be used for a document on writing slog handlers.

Change-Id: I38255e276e744e323695afaa66830107aa17d4d1
Reviewed-on: https://go-review.googlesource.com/c/example/+/494441
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
2023-05-12 16:18:16 +00:00
Russ Cox 2e68773dfc all: gofmt
Gofmt to update doc comments to the new formatting.

For golang/go#51082.

Change-Id: Ic98f647623f234cf5d36309c6204683e151820d7
Reviewed-on: https://go-review.googlesource.com/c/example/+/399596
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2022-04-12 21:36:50 +00:00
Robert Findley ad95e7f791 gotypes: add a link to the 1.18 API guide, and fix links
Update the go/types guide to have a link to the new 1.18 API guide, for
now.

Also fix some links to pkg.go.dev and golang.org/x that were amended in
the autogenerated README.md rather than the original source.

For golang/go#50676

Change-Id: Ib98ed095d74be02046c426e51f1ae2b9ceb03b0d
Reviewed-on: https://go-review.googlesource.com/c/example/+/389656
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Robert Griesemer <gri@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-03-04 23:50:25 +00:00
Hana 787a929d5a README.md: change the build instruction
After go1.16, `go get` runs in modules mode, and it's not the
recommended way of installing binaries nor a way to fetch source
code. Given that this example repo is designed for new go users
who want to learn, it is better to guide users to clone the repo
using the git command.

Updated the instruction for appengine-hello since goapp is gone.
I didn't test the appengine-hello instruction myself and not sure
if it still runs.

Change-Id: I74a829203def9b062bee75637c7d2c6cef448a2f
Reviewed-on: https://go-review.googlesource.com/c/example/+/340113
Trust: Hyang-Ah Hana Kim <hyangah@gmail.com>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2021-08-11 19:03:40 +00:00
Hana 09c3a5e06b README.md: update package paths to be golang.org/x/example/...
The module name is golang.org/x/example and the canonical repo
is go.googlesource.com/example.

Add the pkg.go.dev link in the main README.md and remove
stale godoc.org links.

Change-Id: Ia67be2179885d144c97284237df1f4373717722d
Reviewed-on: https://go-review.googlesource.com/c/example/+/307689
Trust: Hyang-Ah Hana Kim <hyangah@gmail.com>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Suzy Mueller <suzmue@golang.org>
2021-04-07 02:32:11 +00:00
Suzy Mueller bcf50bfd7d go.mod/go.sum: add a go.mod and go.sum file for golang.org/x/example
Add a go.mod and go.sum file for the example repo. Updates the import
path for the packages in this repository to begin with
golang.org/x/example.

Change-Id: I79a8dcfff9cebd4aa8586c57f19f86305a213598
Reviewed-on: https://go-review.googlesource.com/c/example/+/283332
Trust: Suzy Mueller <suzmue@golang.org>
Run-TryBot: Suzy Mueller <suzmue@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
2021-01-13 20:02:57 +00:00
Alexey Palazhchenko 46695d81d1 gotypes: Go 1.9 was released
Change-Id: I482c34974a153838ddebf8f9450e29d79b19cd69
Reviewed-on: https://go-review.googlesource.com/61018
Reviewed-by: Alan Donovan <adonovan@google.com>
2017-09-04 18:50:48 +00:00
Alan Donovan 0dea2d0bf9 gotypes: document proposed Go 1.9 aliases
Change-Id: Ib072dd03ae808e774ceffab00fd716875fead445
Reviewed-on: https://go-review.googlesource.com/36721
Reviewed-by: Robert Griesemer <gri@golang.org>
2017-02-13 20:36:18 +00:00
Harry Moreno 324742add2 doc: add gotypes to readme
Copied from golang/example#2.

Change-Id: Idbf4100ab115be2a6ca03b180c5ceb9978de6e3c
Reviewed-on: https://go-review.googlesource.com/24159
Reviewed-by: Alan Donovan <adonovan@google.com>
2016-06-16 18:46:52 +00:00
mpl adefd0d380 gotypes: fix typeandvalue output
Change-Id: Id9a25bacfa670091e0b02efb6110d758ec5afca5
Reviewed-on: https://go-review.googlesource.com/23567
Reviewed-by: Alan Donovan <adonovan@google.com>
2016-05-31 14:31:25 +00:00
David R. Jenni ef176d87c1 gotypes: fix links
Change-Id: I76d62337854429b2e66b56bfc5f11d6a3d3892b2
Reviewed-on: https://go-review.googlesource.com/22012
Reviewed-by: Alan Donovan <adonovan@google.com>
2016-04-14 20:26:59 +00:00
Alan Donovan 002c6d2b26 gotypes: updates for dropping of Go 1.4 support in x/tools
Change-Id: Ibb2b40434701d33f33c4d7cb72e80393b005f8ce
Reviewed-on: https://go-review.googlesource.com/20048
Reviewed-by: Robert Griesemer <gri@golang.org>
2016-03-01 18:15:44 +00:00
Andrew Gerrand aec836b41f template: remove duplicate element id
Fixes golang/go#14435

Change-Id: Icf318cc2a8c71258e1c8f415e588e508c29f3a06
Reviewed-on: https://go-review.googlesource.com/19782
Reviewed-by: Rob Pike <r@golang.org>
2016-02-22 00:30:56 +00:00
Andrew Gerrand d44c702087 doc: fix template link in readme
Change-Id: Ic9df686244c5e87cf53c82eb231ad7a1f1156a7c
Reviewed-on: https://go-review.googlesource.com/19538
Reviewed-by: Andrew Gerrand <adg@golang.org>
2016-02-17 22:35:13 +00:00
Andrew Gerrand e7f22345d7 template: add example to demonstrate template blocks
Fixes golang/go#14285

Change-Id: I3b32b7fc19960a77778e84cba2a0a95b49dbdf16
Reviewed-on: https://go-review.googlesource.com/19443
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Chris Broadfoot <cbro@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
2016-02-17 20:43:35 +00:00
Alan Donovan ff9d95a11f gotypes: fix plural
Change-Id: I1496492af6f87cfe3cedcb772cbf112dcc5f55f8
Reviewed-on: https://go-review.googlesource.com/18231
Reviewed-by: Alan Donovan <adonovan@google.com>
2016-01-04 19:51:27 +00:00
Alan Donovan 15d04612f8 gotypes: fix typos
(Was https://github.com/golang/example/pull/3 by nikai3d)

Change-Id: I63b238a112c1406e0aaad5f9e6cba956c24e11b9
Reviewed-on: https://go-review.googlesource.com/18190
Reviewed-by: Alan Donovan <adonovan@google.com>
2015-12-28 15:15:52 +00:00