Standard library / archive/tar
archive/tar.TypeXGlobalHeader
Global PAX metadata; Go does not persist global state across entries. Expected stdout: '103\n'.
Formal Syntax & Structure
go syntaxgo
const TypeXGlobalHeader = 'g'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.TypeXGlobalHeader)) }