The-Go-Programming-Language

module
v0.0.0-...-6fe4f4e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2024 License: MIT

README

The Go Programming Language

Getting started

To make it easy for you to get started with GitLab, here's a list of recommended next steps.

Already a pro? Just edit this README.md and make it your own. Want to make it easy? Use the template at the bottom!

Add your files

cd existing_repo
git remote add origin https://gitlab.com/luyang93/The-Go-Programming-Language.git
git branch -M main
git push -uf origin main

Integrate with your tools

Collaborate with your team

Test and Deploy

Use the built-in continuous integration in GitLab.


Editing this README

When you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thank you to makeareadme.com for this template.

Suggestions for a good README

Every project is different, so consider which of these sections apply to yours. The sections used in the template are suggestions for most open source projects. Also keep in mind that while a README can be too long and detailed, too long is better than too short. If you think your README is too long, consider utilizing another form of documentation rather than cutting out information.

Name

Choose a self-explaining name for your project.

Description

Let people know what your project can do specifically. Provide context and add a link to any reference visitors might be unfamiliar with. A list of Features or a Background subsection can also be added here. If there are alternatives to your project, this is a good place to list differentiating factors.

Badges

On some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge.

Visuals

Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.

Installation

Within a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection.

Usage

Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.

Support

Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc.

Roadmap

If you have ideas for releases in the future, it is a good idea to list them in the README.

Contributing

State if you are open to contributions and what your requirements are for accepting them.

For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self.

You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser.

Authors and acknowledgment

Show your appreciation to those who have contributed to the project.

License

For open source projects, say how it is licensed.

Project status

If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers.

Directories

Path Synopsis
ch01
dup1 command
Dup1 prints the text of each line that appears more than once in the standard input, preceded by its count.
Dup1 prints the text of each line that appears more than once in the standard input, preceded by its count.
dup2 command
Dup2 prints the count and text of lines that appear more than once in the input.
Dup2 prints the count and text of lines that appear more than once in the input.
dup3 command
Dup3 prints the count and text of lines that appear more than once in the named input files.
Dup3 prints the count and text of lines that appear more than once in the named input files.
echo1 command
Echo1 prints its command-line arguments.
Echo1 prints its command-line arguments.
echo2 command
Echo2 prints its command-line arguments.
Echo2 prints its command-line arguments.
echo3 command
Echo3 prints its command-line arguments.
Echo3 prints its command-line arguments.
ex01 command
Exercise 1.1 Echo to print command name itself
Exercise 1.1 Echo to print command name itself
ex02 command
Exercise 1.2 Echo to print index and value one per line
Exercise 1.2 Echo to print index and value one per line
ex03
Exercise 1.2 Test echo performance
Exercise 1.2 Test echo performance
ex04 command
Dup2 prints the count and text of lines that appear more than once in the input.
Dup2 prints the count and text of lines that appear more than once in the input.
ex05 command
Lissajous generates GIF animations of random Lissajous figures.
Lissajous generates GIF animations of random Lissajous figures.
ex06 command
Lissajous generates GIF animations of random Lissajous figures.
Lissajous generates GIF animations of random Lissajous figures.
ex07 command
Fetch prints the content found at each specified URL.
Fetch prints the content found at each specified URL.
ex08 command
Fetch prints the content found at each specified URL.
Fetch prints the content found at each specified URL.
ex09 command
Fetch prints the content found at each specified URL.
Fetch prints the content found at each specified URL.
ex10 command
Fetchall fetches URLs in parallel and reports their times and sizes.
Fetchall fetches URLs in parallel and reports their times and sizes.
ex11 command
Fetchall fetches URLs in parallel and reports their times and sizes.
Fetchall fetches URLs in parallel and reports their times and sizes.
ex12 command
Lissajous generates GIF animations of random Lissajous figures.
Lissajous generates GIF animations of random Lissajous figures.
fetch command
Fetch prints the content found at each specified URL.
Fetch prints the content found at each specified URL.
fetchall command
Fetchall fetches URLs in parallel and reports their times and sizes.
Fetchall fetches URLs in parallel and reports their times and sizes.
helloworld command
Helloworld is our first Go program.
Helloworld is our first Go program.
lissajous command
Lissajous generates GIF animations of random Lissajous figures.
Lissajous generates GIF animations of random Lissajous figures.
server1 command
Server1 is a minimal "echo" server.
Server1 is a minimal "echo" server.
server2 command
Server2 is a minimal "echo" and counter server.
Server2 is a minimal "echo" and counter server.
server3 command
Server3 is an "echo" server that displays request parameters.
Server3 is an "echo" server that displays request parameters.
ch02
boiling command
Boiling prints the boiling point of water.
Boiling prints the boiling point of water.
cf command
Cf converts its numeric argument to Celsius and Fahrenheit.
Cf converts its numeric argument to Celsius and Fahrenheit.
echo4 command
Echo4 prints its command-line arguments.
Echo4 prints its command-line arguments.
ex02 command
ftoc command
Ftoc prints two Fahrenheit-to-Celsius conversions.
Ftoc prints two Fahrenheit-to-Celsius conversions.
popcount
(Package doc comment intentionally malformed to demonstrate golint.)
(Package doc comment intentionally malformed to demonstrate golint.)
tempconv
Package tempconv performs Celsius and Fahrenheit temperature computations.
Package tempconv performs Celsius and Fahrenheit temperature computations.
tempconv0
Package tempconv performs Celsius and Fahrenheit temperature computations.
Package tempconv performs Celsius and Fahrenheit temperature computations.
ch03
basename1 command
Basename1 reads file names from stdin and prints the base name of each one.
Basename1 reads file names from stdin and prints the base name of each one.
basename2 command
Basename2 reads file names from stdin and prints the base name of each one.
Basename2 reads file names from stdin and prints the base name of each one.
comma command
Comma prints its argument numbers with a comma at each power of 1000.
Comma prints its argument numbers with a comma at each power of 1000.
ex01 command
Surface computes an SVG rendering of a 3-D surface function.
Surface computes an SVG rendering of a 3-D surface function.
ex02 command
Surface computes an SVG rendering of a 3-D surface function.
Surface computes an SVG rendering of a 3-D surface function.
ex03 command
Surface computes an SVG rendering of a 3-D surface function.
Surface computes an SVG rendering of a 3-D surface function.
ex04 command
Surface computes an SVG rendering of a 3-D surface function.
Surface computes an SVG rendering of a 3-D surface function.
ex05 command
Mandelbrot emits a PNG image of the Mandelbrot fractal.
Mandelbrot emits a PNG image of the Mandelbrot fractal.
ex06 command
Mandelbrot emits a PNG image of the Mandelbrot fractal.
Mandelbrot emits a PNG image of the Mandelbrot fractal.
ex07 command
Mandelbrot emits a PNG image of the Mandelbrot fractal.
Mandelbrot emits a PNG image of the Mandelbrot fractal.
ex08 command
Mandelbrot emits a PNG image of the Mandelbrot fractal.
Mandelbrot emits a PNG image of the Mandelbrot fractal.
ex09 command
Mandelbrot emits a PNG image of the Mandelbrot fractal.
Mandelbrot emits a PNG image of the Mandelbrot fractal.
ex10 command
ex11 command
mandelbrot command
Mandelbrot emits a PNG image of the Mandelbrot fractal.
Mandelbrot emits a PNG image of the Mandelbrot fractal.
netflag command
Netflag demonstrates an integer type used as a bit field.
Netflag demonstrates an integer type used as a bit field.
printints command
Printints demonstrates the use of bytes.Buffer to format a string.
Printints demonstrates the use of bytes.Buffer to format a string.
surface command
Surface computes an SVG rendering of a 3-D surface function.
Surface computes an SVG rendering of a 3-D surface function.
ch04
append command
Append illustrates the behavior of the built-in append function.
Append illustrates the behavior of the built-in append function.
autoescape command
Autoescape demonstrates automatic HTML escaping in html/template.
Autoescape demonstrates automatic HTML escaping in html/template.
charcount command
Charcount computes counts of Unicode characters.
Charcount computes counts of Unicode characters.
dedup command
Dedup prints only one instance of each line; duplicates are removed.
Dedup prints only one instance of each line; duplicates are removed.
embed command
Embed demonstrates basic struct embedding.
Embed demonstrates basic struct embedding.
ex01 command
ex02 command
ex08 command
Charcount computes counts of Unicode characters.
Charcount computes counts of Unicode characters.
ex09 command
ex10 command
Package github provides a Go API for the GitHub issue tracker.
Package github provides a Go API for the GitHub issue tracker.
ex11 command
Package github provides a Go API for the GitHub issue tracker.
Package github provides a Go API for the GitHub issue tracker.
ex12 command
ex13 command
ex14 command
Package github provides a Go API for the GitHub issue tracker.
Package github provides a Go API for the GitHub issue tracker.
github
Package github provides a Go API for the GitHub issue tracker.
Package github provides a Go API for the GitHub issue tracker.
graph command
Graph shows how to use a map of maps to represent a directed graph.
Graph shows how to use a map of maps to represent a directed graph.
issues command
Issues prints a table of GitHub issues matching the search terms.
Issues prints a table of GitHub issues matching the search terms.
issueshtml command
Issueshtml prints an HTML table of issues matching the search terms.
Issueshtml prints an HTML table of issues matching the search terms.
issuesreport command
Issuesreport prints a report of issues matching the search terms.
Issuesreport prints a report of issues matching the search terms.
movie command
Movie prints Movies as JSON.
Movie prints Movies as JSON.
nonempty command
Nonempty is an example of an in-place slice algorithm.
Nonempty is an example of an in-place slice algorithm.
rev command
Rev reverses a slice.
Rev reverses a slice.
sha256 command
The sha256 command computes the SHA256 hash (an array) of a string.
The sha256 command computes the SHA256 hash (an array) of a string.
treesort
Package treesort provides insertion sort using an unbalanced binary tree.
Package treesort provides insertion sort using an unbalanced binary tree.
ch05
defer1 command
Defer1 demonstrates a deferred call being invoked during a panic.
Defer1 demonstrates a deferred call being invoked during a panic.
defer2 command
Defer2 demonstrates a deferred call to runtime.Stack during a panic.
Defer2 demonstrates a deferred call to runtime.Stack during a panic.
ex01 command
Findlinks1 prints the links in an HTML document read from standard input.
Findlinks1 prints the links in an HTML document read from standard input.
ex02 command
ex03 command
ex04 command
Findlinks1 prints the links in an HTML document read from standard input.
Findlinks1 prints the links in an HTML document read from standard input.
ex05 command
ex06 command
Surface computes an SVG rendering of a 3-D surface function.
Surface computes an SVG rendering of a 3-D surface function.
ex07 command
ex08 command
ex09 command
ex10 command
The toposort program prints the nodes of a DAG in topological order.
The toposort program prints the nodes of a DAG in topological order.
ex11 command
The toposort program prints the nodes of a DAG in topological order.
The toposort program prints the nodes of a DAG in topological order.
ex12 command
Outline prints the outline of an HTML document tree.
Outline prints the outline of an HTML document tree.
ex13 command
Findlinks3 crawls the web, starting with the URLs on the command line.
Findlinks3 crawls the web, starting with the URLs on the command line.
ex14 command
ex18 command
Fetch saves the contents of a URL into a local file.
Fetch saves the contents of a URL into a local file.
ex19 command
fetch command
Fetch saves the contents of a URL into a local file.
Fetch saves the contents of a URL into a local file.
findlinks1 command
Findlinks1 prints the links in an HTML document read from standard input.
Findlinks1 prints the links in an HTML document read from standard input.
findlinks2 command
Findlinks2 does an HTTP GET on each URL, parses the result as HTML, and prints the links within it.
Findlinks2 does an HTTP GET on each URL, parses the result as HTML, and prints the links within it.
findlinks3 command
Findlinks3 crawls the web, starting with the URLs on the command line.
Findlinks3 crawls the web, starting with the URLs on the command line.
links
Package links provides a link-extraction function.
Package links provides a link-extraction function.
outline command
Outline prints the outline of an HTML document tree.
Outline prints the outline of an HTML document tree.
outline2 command
Outline prints the outline of an HTML document tree.
Outline prints the outline of an HTML document tree.
squares command
The squares program demonstrates a function value with state.
The squares program demonstrates a function value with state.
sum command
The sum program demonstrates a variadic function.
The sum program demonstrates a variadic function.
title1 command
Title1 prints the title of an HTML document specified by a URL.
Title1 prints the title of an HTML document specified by a URL.
title2 command
Title2 prints the title of an HTML document specified by a URL.
Title2 prints the title of an HTML document specified by a URL.
title3 command
Title3 prints the title of an HTML document specified by a URL.
Title3 prints the title of an HTML document specified by a URL.
toposort command
The toposort program prints the nodes of a DAG in topological order.
The toposort program prints the nodes of a DAG in topological order.
trace command
The trace program uses defer to add entry/exit diagnostics to a function.
The trace program uses defer to add entry/exit diagnostics to a function.
wait command
The wait program waits for an HTTP server to start responding.
The wait program waits for an HTTP server to start responding.
ch06
coloredpoint command
Coloredpoint demonstrates struct embedding.
Coloredpoint demonstrates struct embedding.
ex01
Package intset provides a set of integers based on a bit vector.
Package intset provides a set of integers based on a bit vector.
ex02
Package intset provides a set of integers based on a bit vector.
Package intset provides a set of integers based on a bit vector.
ex03
Package intset provides a set of integers based on a bit vector.
Package intset provides a set of integers based on a bit vector.
ex04
Package intset provides a set of integers based on a bit vector.
Package intset provides a set of integers based on a bit vector.
ex05
Package intset provides a set of integers based on a bit vector.
Package intset provides a set of integers based on a bit vector.
geometry
Package geometry defines simple types for plane geometry.
Package geometry defines simple types for plane geometry.
intset
Package intset provides a set of integers based on a bit vector.
Package intset provides a set of integers based on a bit vector.
urlvalues command
The urlvalues command demonstrates a map type with methods.
The urlvalues command demonstrates a map type with methods.
ch07
bytecounter command
Bytecounter demonstrates an implementation of io.Writer that counts bytes.
Bytecounter demonstrates an implementation of io.Writer that counts bytes.
eval
Package eval provides an expression evaluator.
Package eval provides an expression evaluator.
ex01 command
Bytecounter demonstrates an implementation of io.Writer that counts bytes.
Bytecounter demonstrates an implementation of io.Writer that counts bytes.
ex03
Package treesort provides insertion sort using an unbalanced binary tree.
Package treesort provides insertion sort using an unbalanced binary tree.
ex06 command
Tempflag prints the value of its -temp (temperature) flag.
Tempflag prints the value of its -temp (temperature) flag.
ex07 command
Tempflag prints the value of its -temp (temperature) flag.
Tempflag prints the value of its -temp (temperature) flag.
ex08 command
Sorting sorts a music playlist into a variety of orders.
Sorting sorts a music playlist into a variety of orders.
ex09 command
Sorting sorts a music playlist into a variety of orders.
Sorting sorts a music playlist into a variety of orders.
ex11 command
Http4 is an e-commerce server that registers the /list and /price endpoint by calling http.HandleFunc.
Http4 is an e-commerce server that registers the /list and /price endpoint by calling http.HandleFunc.
ex12 command
Http4 is an e-commerce server that registers the /list and /price endpoint by calling http.HandleFunc.
Http4 is an e-commerce server that registers the /list and /price endpoint by calling http.HandleFunc.
ex13
Package eval provides an expression evaluator.
Package eval provides an expression evaluator.
ex14
Package eval provides an expression evaluator.
Package eval provides an expression evaluator.
ex15 command
ex16 command
Evaluate an expression for http clients, accepting `expr` and `env` as query parameters, eg: curl 'localhost:8000/?expr=x*y&env=x=3%20y=4'
Evaluate an expression for http clients, accepting `expr` and `env` as query parameters, eg: curl 'localhost:8000/?expr=x*y&env=x=3%20y=4'
ex17 command
ex18 command
http1 command
Http1 is a rudimentary e-commerce server.
Http1 is a rudimentary e-commerce server.
http2 command
Http2 is an e-commerce server with /list and /price endpoints.
Http2 is an e-commerce server with /list and /price endpoints.
http3 command
Http3 is an e-commerce server that registers the /list and /price endpoints by calling (*http.ServeMux).Handle.
Http3 is an e-commerce server that registers the /list and /price endpoints by calling (*http.ServeMux).Handle.
http3a command
Http3a is an e-commerce server that registers the /list and /price endpoints by calling (*http.ServeMux).HandleFunc.
Http3a is an e-commerce server that registers the /list and /price endpoints by calling (*http.ServeMux).HandleFunc.
http4 command
Http4 is an e-commerce server that registers the /list and /price endpoint by calling http.HandleFunc.
Http4 is an e-commerce server that registers the /list and /price endpoint by calling http.HandleFunc.
sleep command
The sleep program sleeps for a specified period of time.
The sleep program sleeps for a specified period of time.
sorting command
Sorting sorts a music playlist into a variety of orders.
Sorting sorts a music playlist into a variety of orders.
surface command
The surface program plots the 3-D surface of a user-provided function.
The surface program plots the 3-D surface of a user-provided function.
tempconv
Package tempconv performs Celsius and Fahrenheit temperature computations.
Package tempconv performs Celsius and Fahrenheit temperature computations.
tempflag command
Tempflag prints the value of its -temp (temperature) flag.
Tempflag prints the value of its -temp (temperature) flag.
xmlselect command
Xmlselect prints the text of selected elements of an XML document.
Xmlselect prints the text of selected elements of an XML document.
ch08
cake
Package cake provides a simulation of a concurrent cake shop with numerous parameters.
Package cake provides a simulation of a concurrent cake shop with numerous parameters.
chat command
Chat is a server that lets clients chat with each other.
Chat is a server that lets clients chat with each other.
clock1 command
Clock1 is a TCP server that periodically writes the time.
Clock1 is a TCP server that periodically writes the time.
clock2 command
Clock is a TCP server that periodically writes the time.
Clock is a TCP server that periodically writes the time.
countdown1 command
Countdown implements the countdown for a rocket launch.
Countdown implements the countdown for a rocket launch.
countdown2 command
Countdown implements the countdown for a rocket launch.
Countdown implements the countdown for a rocket launch.
countdown3 command
Countdown implements the countdown for a rocket launch.
Countdown implements the countdown for a rocket launch.
crawl1 command
Crawl1 crawls web links starting with the command-line arguments.
Crawl1 crawls web links starting with the command-line arguments.
crawl2 command
Crawl2 crawls web links starting with the command-line arguments.
Crawl2 crawls web links starting with the command-line arguments.
crawl3 command
Crawl3 crawls web links starting with the command-line arguments.
Crawl3 crawls web links starting with the command-line arguments.
du1 command
The du1 command computes the disk usage of the files in a directory.
The du1 command computes the disk usage of the files in a directory.
du2 command
The du2 command computes the disk usage of the files in a directory.
The du2 command computes the disk usage of the files in a directory.
du3 command
The du3 command computes the disk usage of the files in a directory.
The du3 command computes the disk usage of the files in a directory.
du4 command
The du4 command computes the disk usage of the files in a directory.
The du4 command computes the disk usage of the files in a directory.
ex01/clock command
ex01/clockwall command
ex02 command
RFC959 simple ftpd
RFC959 simple ftpd
ex03 command
Netcat is a simple read/write client for TCP servers.
Netcat is a simple read/write client for TCP servers.
ex03/reverb1 command
Reverb1 is a TCP server that simulates an echo.
Reverb1 is a TCP server that simulates an echo.
ex04 command
Reverb2 is a TCP server that simulates an echo.
Reverb2 is a TCP server that simulates an echo.
ex05 command
Mandelbrot emits a PNG image of the Mandelbrot fractal.
Mandelbrot emits a PNG image of the Mandelbrot fractal.
ex06 command
Crawl3 crawls web links starting with the command-line arguments.
Crawl3 crawls web links starting with the command-line arguments.
ex07 command
ex08 command
Reverb2 is a TCP server that simulates an echo.
Reverb2 is a TCP server that simulates an echo.
ex09 command
The du4 command computes the disk usage of the files in a directory.
The du4 command computes the disk usage of the files in a directory.
ex10 command
ex11 command
ex12 command
Chat is a server that lets clients chat with each other.
Chat is a server that lets clients chat with each other.
ex13 command
Chat is a server that lets clients chat with each other.
Chat is a server that lets clients chat with each other.
ex14 command
Chat is a server that lets clients chat with each other.
Chat is a server that lets clients chat with each other.
ex15 command
Chat is a server that lets clients chat with each other.
Chat is a server that lets clients chat with each other.
netcat1 command
Netcat1 is a read-only TCP client.
Netcat1 is a read-only TCP client.
netcat2 command
Netcat is a simple read/write client for TCP servers.
Netcat is a simple read/write client for TCP servers.
netcat3 command
Netcat is a simple read/write client for TCP servers.
Netcat is a simple read/write client for TCP servers.
pipeline1 command
Pipeline1 demonstrates an infinite 3-stage pipeline.
Pipeline1 demonstrates an infinite 3-stage pipeline.
pipeline2 command
Pipeline2 demonstrates a finite 3-stage pipeline.
Pipeline2 demonstrates a finite 3-stage pipeline.
pipeline3 command
Pipeline3 demonstrates a finite 3-stage pipeline with range, close, and unidirectional channel types.
Pipeline3 demonstrates a finite 3-stage pipeline with range, close, and unidirectional channel types.
reverb1 command
Reverb1 is a TCP server that simulates an echo.
Reverb1 is a TCP server that simulates an echo.
reverb2 command
Reverb2 is a TCP server that simulates an echo.
Reverb2 is a TCP server that simulates an echo.
spinner command
Spinner displays an animation while computing the 45th Fibonacci number.
Spinner displays an animation while computing the 45th Fibonacci number.
thumbnail
The thumbnail package produces thumbnail-size images from larger images.
The thumbnail package produces thumbnail-size images from larger images.
ch09
bank1
Package bank provides a concurrency-safe bank with one account.
Package bank provides a concurrency-safe bank with one account.
bank2
Package bank provides a concurrency-safe bank with one account.
Package bank provides a concurrency-safe bank with one account.
bank3
Package bank provides a concurrency-safe single-account bank.
Package bank provides a concurrency-safe single-account bank.
ex01
Package bank provides a concurrency-safe bank with one account.
Package bank provides a concurrency-safe bank with one account.
ex03
Package memo provides a concurrency-safe non-blocking memoization of a function.
Package memo provides a concurrency-safe non-blocking memoization of a function.
ex05 command
ex06 command
Mandelbrot emits a PNG image of the Mandelbrot fractal.
Mandelbrot emits a PNG image of the Mandelbrot fractal.
memo1
Package memo provides a concurrency-unsafe memoization of a function of type Func.
Package memo provides a concurrency-unsafe memoization of a function of type Func.
memo2
Package memo provides a concurrency-safe memoization a function of type Func.
Package memo provides a concurrency-safe memoization a function of type Func.
memo3
Package memo provides a concurrency-safe memoization a function of type Func.
Package memo provides a concurrency-safe memoization a function of type Func.
memo4
Package memo provides a concurrency-safe memoization a function of a function.
Package memo provides a concurrency-safe memoization a function of a function.
memo5
Package memo provides a concurrency-safe non-blocking memoization of a function.
Package memo provides a concurrency-safe non-blocking memoization of a function.
ch10
cross command
The cross command prints the values of GOOS and GOARCH for this target.
The cross command prints the values of GOOS and GOARCH for this target.
ex01 command
ex02 command
ex03 command
Fetch prints the content found at each specified URL.
Fetch prints the content found at each specified URL.
ex04 command
jpeg command
The jpeg command reads a PNG image from the standard input and writes it as a JPEG image to the standard output.
The jpeg command reads a PNG image from the standard input and writes it as a JPEG image to the standard output.
ch11
echo command
Echo prints its command-line arguments.
Echo prints its command-line arguments.
ex01 command
Charcount computes counts of Unicode characters.
Charcount computes counts of Unicode characters.
ex02 command
ex03
Package word provides utilities for word games.
Package word provides utilities for word games.
ex04
Package word provides utilities for word games.
Package word provides utilities for word games.
ex07 command
fib
storage1
Package storage is part of a hypothetical cloud storage server.
Package storage is part of a hypothetical cloud storage server.
word1
Package word provides utilities for word games.
Package word provides utilities for word games.
word2
Package word provides utilities for word games.
Package word provides utilities for word games.
ch12
display
Package display provides a means to display structured data.
Package display provides a means to display structured data.
ex01
Package display provides a means to display structured data.
Package display provides a means to display structured data.
ex02
Package display provides a means to display structured data.
Package display provides a means to display structured data.
ex07
Package sexpr provides a means for converting Go objects to and from S-expressions.
Package sexpr provides a means for converting Go objects to and from S-expressions.
ex08
Package sexpr provides a means for converting Go objects to and from S-expressions.
Package sexpr provides a means for converting Go objects to and from S-expressions.
ex09
Package sexpr provides a means for converting Go objects to and from S-expressions.
Package sexpr provides a means for converting Go objects to and from S-expressions.
ex10
Package sexpr provides a means for converting Go objects to and from S-expressions.
Package sexpr provides a means for converting Go objects to and from S-expressions.
ex11
Package params provides a reflection-based parser for URL parameters.
Package params provides a reflection-based parser for URL parameters.
ex12
Package params provides a reflection-based parser for URL parameters.
Package params provides a reflection-based parser for URL parameters.
ex13
Package sexpr provides a means for converting Go objects to and from S-expressions.
Package sexpr provides a means for converting Go objects to and from S-expressions.
format
Package format provides an Any function that can format any value.
Package format provides an Any function that can format any value.
methods
Package methods provides a function to print the methods of any value.
Package methods provides a function to print the methods of any value.
params
Package params provides a reflection-based parser for URL parameters.
Package params provides a reflection-based parser for URL parameters.
search command
Search is a demo of the params.Unpack function.
Search is a demo of the params.Unpack function.
sexpr
Package sexpr provides a means for converting Go objects to and from S-expressions.
Package sexpr provides a means for converting Go objects to and from S-expressions.
ch13
bzip
Package bzip provides a writer that uses bzip2 compression (bzip.org).
Package bzip provides a writer that uses bzip2 compression (bzip.org).
bzipper command
Bzipper reads input, bzip2-compresses it, and writes it out.
Bzipper reads input, bzip2-compresses it, and writes it out.
equal
Package equal provides a deep equivalence relation for arbitrary values.
Package equal provides a deep equivalence relation for arbitrary values.
ex01
Package equal provides a deep equivalence relation for arbitrary values.
Package equal provides a deep equivalence relation for arbitrary values.
ex03
Package bzip provides a writer that uses bzip2 compression (bzip.org).
Package bzip provides a writer that uses bzip2 compression (bzip.org).
unsafeptr command
Package unsafeptr demonstrates basic use of unsafe.Pointer.
Package unsafeptr demonstrates basic use of unsafe.Pointer.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL