gobyexample/examples
Ali Görkem Çiçek d774175f31
Fix typo in the enums example (#530)
2024-05-15 05:28:41 -07:00
..
arrays Add an example with automatic array size (#522) 2024-04-15 07:34:57 -07:00
atomic-counters Small comment updates to atomic-counters 2023-10-02 05:48:21 -07:00
base64-encoding Improving links (http -> https) (#425) 2022-06-06 11:31:46 -07:00
channel-buffering bugfix (mmcgrana/gobyexample#294) sha1 sum calculator 2019-10-22 14:27:02 +03:00
channel-directions bugfix (mmcgrana/gobyexample#294) sha1 sum calculator 2019-10-22 14:27:02 +03:00
channel-synchronization bugfix (mmcgrana/gobyexample#294) sha1 sum calculator 2019-10-22 14:27:02 +03:00
channels bugfix (mmcgrana/gobyexample#294) sha1 sum calculator 2019-10-22 14:27:02 +03:00
closing-channels Fix up formatting and phrasing for closed chan read 2023-11-30 05:08:42 -08:00
closures Improving links (http -> https) (#425) 2022-06-06 11:31:46 -07:00
command-line-arguments Improving links (http -> https) (#425) 2022-06-06 11:31:46 -07:00
command-line-flags Improving links (http -> https) (#425) 2022-06-06 11:31:46 -07:00
command-line-subcommands bugfix (mmcgrana/gobyexample#294) sha1 sum calculator 2019-10-22 14:27:02 +03:00
constants bugfix (mmcgrana/gobyexample#294) sha1 sum calculator 2019-10-22 14:27:02 +03:00
context Fix typo in a comment of the context example 2020-01-13 13:55:24 -08:00
custom-errors fix ending extension (#526) 2024-05-01 09:50:23 -04:00
defer bugfix (mmcgrana/gobyexample#294) sha1 sum calculator 2019-10-22 14:27:02 +03:00
directories Update directories sample to use WalkDir 2023-10-28 08:22:37 -07:00
embed-directive Adjust for gofmt changes in 1.19 2022-09-08 05:55:05 -07:00
enums Fix typo in the enums example (#530) 2024-05-15 05:28:41 -07:00
environment-variables Mention that environment variable set by program is also listed by `os.Environ()` (#436) 2022-08-22 05:59:10 -07:00
epoch Improving links (http -> https) (#425) 2022-06-06 11:31:46 -07:00
errors fix ending extension (#526) 2024-05-01 09:50:23 -04:00
execing-processes Improving links (http -> https) (#425) 2022-06-06 11:31:46 -07:00
exit bugfix (mmcgrana/gobyexample#294) sha1 sum calculator 2019-10-22 14:27:02 +03:00
file-paths bugfix (mmcgrana/gobyexample#294) sha1 sum calculator 2019-10-22 14:27:02 +03:00
for Add Go 1.22's range-over-int example to `for` 2024-02-07 05:54:30 -08:00
functions bugfix (mmcgrana/gobyexample#294) sha1 sum calculator 2019-10-22 14:27:02 +03:00
generics Fix up comment length and text, and generate public/ 2023-12-09 10:25:43 -08:00
goroutines Clarify comment for the goroutines sample (#366) 2021-08-30 07:17:25 -07:00
hello-world bugfix (mmcgrana/gobyexample#294) sha1 sum calculator 2019-10-22 14:27:02 +03:00
http-client Rename http clients/servers to singular language: client/server 2022-09-22 13:44:25 -07:00
http-server Rename http clients/servers to singular language: client/server 2022-09-22 13:44:25 -07:00
if-else Reorder text to conform to output 2023-12-29 07:09:36 -08:00
interfaces Improving links (http -> https) (#425) 2022-06-06 11:31:46 -07:00
json Improving links (http -> https) (#425) 2022-06-06 11:31:46 -07:00
line-filters bugfix (mmcgrana/gobyexample#294) sha1 sum calculator 2019-10-22 14:27:02 +03:00
logging Add new example: logging with the log and log/slog packages 2023-08-22 13:45:00 -07:00
maps Add examples of maps/slices packages 2023-08-22 05:52:14 -07:00
methods bugfix (mmcgrana/gobyexample#294) sha1 sum calculator 2019-10-22 14:27:02 +03:00
multiple-return-values bugfix (mmcgrana/gobyexample#294) sha1 sum calculator 2019-10-22 14:27:02 +03:00
mutexes docs: remove typo (#454) 2022-12-12 06:21:16 -08:00
non-blocking-channel-operations bugfix (mmcgrana/gobyexample#294) sha1 sum calculator 2019-10-22 14:27:02 +03:00
number-parsing bugfix (mmcgrana/gobyexample#294) sha1 sum calculator 2019-10-22 14:27:02 +03:00
panic Clarify the panic example with a comment about unreachable code 2021-09-02 05:42:07 -07:00
pointers Improving links (http -> https) (#425) 2022-06-06 11:31:46 -07:00
random-numbers Update random-numbers example to use Go 1.22's math/rand/v2 2024-02-07 06:27:04 -08:00
range Tweaks to other samples to accommodate strings-and-runes 2022-02-05 07:11:37 -08:00
range-over-channels bugfix (mmcgrana/gobyexample#294) sha1 sum calculator 2019-10-22 14:27:02 +03:00
rate-limiting Improving links (http -> https) (#425) 2022-06-06 11:31:46 -07:00
reading-files Use seek enums and show other seek methods (#524) 2024-04-29 05:47:21 -07:00
recover Add missing command line example for recover.sh (#444) 2022-09-23 06:12:58 -07:00
recursion Improving links (http -> https) (#425) 2022-06-06 11:31:46 -07:00
regular-expressions Improving links (http -> https) (#425) 2022-06-06 11:31:46 -07:00
select bugfix (mmcgrana/gobyexample#294) sha1 sum calculator 2019-10-22 14:27:02 +03:00
sha256-hashes Clean up description in SHA256 example 2022-03-31 05:45:19 -07:00
signals Improving links (http -> https) (#425) 2022-06-06 11:31:46 -07:00
slices Add examples of maps/slices packages 2023-08-22 05:52:14 -07:00
sorting Update sorting sample to use slices.Sort instead of sort package 2023-08-21 12:27:51 -07:00
sorting-by-functions Update sorting-by-functions example to use slices.SortFunc 2023-08-21 12:47:17 -07:00
spawning-processes Improve spawning-process example with error-checking 2022-05-06 10:16:02 -07:00
stateful-goroutines Changes 'the' to 'then' in stateful goroutine example (#427) 2022-06-07 05:23:40 -07:00
string-formatting Rename some string formatting outputs 2021-09-08 05:46:23 -07:00
string-functions Improving links (http -> https) (#425) 2022-06-06 11:31:46 -07:00
strings-and-runes Fix verbiage for Strings and Runes (noissue) (#510) 2024-02-22 09:14:58 -08:00
struct-embedding link embed directive (#469) 2023-04-19 16:25:27 -07:00
structs Add link from structs-->testing-and-benchmarking 2023-06-05 13:42:02 -07:00
switch bugfix (mmcgrana/gobyexample#294) sha1 sum calculator 2019-10-22 14:27:02 +03:00
temporary-files-and-directories Replace deprecated ioutil functions with others (#374) 2021-08-28 06:38:35 -07:00
testing-and-benchmarking Rename testing --> testing-and-benchmarking 2021-12-02 07:12:23 -08:00
text-templates Round of fixes for the new text-template example 2022-02-10 13:54:06 -08:00
tickers bugfix (mmcgrana/gobyexample#294) sha1 sum calculator 2019-10-22 14:27:02 +03:00
time bugfix (mmcgrana/gobyexample#294) sha1 sum calculator 2019-10-22 14:27:02 +03:00
time-formatting-parsing Revert "Add error check to time-parsing" 2020-03-09 14:41:18 +02:00
timeouts Rebuild 2020-08-23 07:50:27 -07:00
timers Clarify in Timers that we give timer2 a real chance to fire 2020-01-04 10:17:11 -08:00
url-parsing bugfix (mmcgrana/gobyexample#294) sha1 sum calculator 2019-10-22 14:27:02 +03:00
values bugfix (mmcgrana/gobyexample#294) sha1 sum calculator 2019-10-22 14:27:02 +03:00
variables Added more information about shorthand variable declaration (#457) 2022-12-20 12:53:58 -08:00
variadic-functions Clarify the type of variadic params with a comment 2022-06-24 12:43:35 -07:00
waitgroups Update waitgroups example to use go 1.22 (#508) 2024-02-09 04:51:32 -08:00
worker-pools Remove magic numbers from code 2020-01-04 10:36:28 -08:00
writing-files Replace deprecated ioutil functions with others (#374) 2021-08-28 06:38:35 -07:00
xml Fix typo in xml example 2022-06-27 20:48:50 -07:00