Standard library / compress/flate

compress/flate.DefaultCompression

Select the implementation default; do not rely on a specific numeric internal level. This is the flate package constant. Expected stdout: '-1\n'.

Formal Syntax & Structure

go syntaxgo
const DefaultCompression = -1

Working Example

Example Snippetgo
package main
import (  "compress/flate"  "fmt")
func must(e error) {  if e != nil {    panic(e)  }}
func main() { fmt.Println(flate.DefaultCompression) }
Go Reference