Standard library / archive/zip

archive/zip.Deflate

ZIP method using DEFLATE compression. Expected stdout: '8\n'.

Formal Syntax & Structure

go syntaxgo
const Deflate uint16 = 8

Working Example

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