Standard library / archive/tar

archive/tar.FormatGNU

GNU dialect; use PAX when interoperability allows. Expected stdout: '8\n'.

Formal Syntax & Structure

go syntaxgo
const FormatGNU Format = 8

Working Example

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