Standard library / compress/flate
compress/flate.BestCompression
Select the highest standard compression effort; not a promise of optimal size. This is the flate package constant. Expected stdout: '9\n'.
Formal Syntax & Structure
go syntaxgo
const BestCompression = 9Working Example
Example Snippetgo
package main
import ( "compress/flate" "fmt")
func must(e error) { if e != nil { panic(e) }}
func main() { fmt.Println(flate.BestCompression) }