Examples using... fmt.Fprintln()

Recent
Package tabwriter implements a write filter (tabwriter.Writer) that translates tabbed columns in input into properly aligned text.
Package tabwriter implements a write filter (tabwriter.Writer) that translates tabbed columns in input into properly aligned text.
A Writer must be initialized with a call to Init. The first parameter (output) specifies the filter output. The remaining parameters control the formatting:
ReverseProxy is an HTTP Handler that takes an incoming request and sends it to another server, proxying the response back to the client.
DumpResponse is like DumpRequest but dumps a response.
A Server is an HTTP server listening on a system-chosen port on the local loopback interface, for use in end-to-end HTTP tests.
NewTLSServer starts and returns a new Server using TLS. The caller should call Close when finished, to shut it down.
https://rawgit.com/mikesamuel/sanitized-jquery-templates/trunk/safetemplate.html#problem_definition defines "safe" as used by this package.
Fprintln formats using the default formats for its operands and writes to w. Spaces are always added between operands and a newline is appended. It returns the number of bytes written and any write error encountered.
This example transmits a value that implements the custom encoding and decoding methods.
Return the most recent call to Scan as a []byte.
Use a Scanner to implement a simple word-count utility by scanning the input as a sequence of space-delimited tokens.
The simplest use of a Scanner, to read standard input as a set of lines.
Use a Scanner with a custom split function to parse a comma-separated list with an empty final value.
Here’s an example line filter in Go that writes a capitalized version of all input text. You can use this pattern to write your own Go line filters.
Defer is used to ensure that a function call is performed later in a program’s execution, usually for purposes of cleanup. defer is often used where e.g. ensure and finally would be used in other languages.