Standard library / compress/flate

compress/flate.BestSpeed

Select a fast compression level; actual size and runtime depend on the input. This is the flate package constant. Expected stdout: '1\n'.

Formal Syntax & Structure

go syntaxgo
const BestSpeed = 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.BestSpeed) }
Go Reference