It does
not
Much of what makes Markdown great is the ability to write plain text, and get great formatted output as a result. To keep the slate clean for the next author, your Markdown should be simple and consistent with the whole corpus wherever possible.
We seek to balance three goals:
- Source text is readable and portable.
package main | |
import ( | |
"bytes" | |
"fmt" | |
"io" | |
"os/exec" | |
) | |
// RunAndListen intercepts cmd.Stdout and cmd.Stderr and runs cmd. |
mkdir -p $WORK/compress/zlib/_test/compress/ | |
# | |
# compress/zlib | |
# | |
mkdir -p $WORK/compress/zlib/_test/_obj_test/ | |
cd /Users/nodir/go/src/github.com/golang/go/src/compress/zlib | |
/Users/nodir/go/src/github.com/golang/go/pkg/tool/darwin_amd64/compile -o $WORK/compress/zlib/_test/compress/zlib.a -trimpath $WORK -p compress/zlib -complete -buildid d766f85b5551c2e988b19e7a04fd06d10cb0b7b3 -D _/Users/nodir/go/src/github.com/golang/go/src/compress/zlib -I $WORK -pack ./reader.go ./writer.go ./reader_test.go ./writer_test.go |
Author(s): Nodir Turakulov <[email protected]>
With initial input by Russ Cox, Caleb Spare, Andrew Gerrand and Minux Ma.
Last updated: 2015-10-07
Discussion at https://golang.org/issue/2981.
type MyLogger interface { | |
Print(v ...interface{}) | |
} | |
var l MyLogger = log.New(os.Stderr, "", 0) |
// Package better is a better implementation of log.Logger | |
package better | |
type Logger struct { | |
} | |
func (l *Logger) Print(v ...interface{}) { | |
//.... | |
} |
package main | |
import ( | |
"better" | |
"log" | |
) | |
// Logger is a subset of log.Logger methods that we need. | |
type MyLogger interface { | |
Print(v ...interface{}) |
// Package better is a better implementation of log.Logger | |
package better | |
type Logger struct { | |
} | |
func (l *Logger) Print(v ...interface{}) { | |
//.... | |
} |
gRPC is great, but is not available on Classic AppEngine at this time, so while working on the [nextgen CI for Chromium][luci] we wrote pRPC (provisional RPC) for Go that is compatible with gRPC server/client code, but works on HTTP 1.x and Classic AppEngine. In addition it has gRPC-compatible discovery and a CLI tool.