Standard library / archive/tar
archive/tar.TypeDir
Directory header. Expected stdout: '53\n'.
Formal Syntax & Structure
go syntaxgo
const TypeDir = '5'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.TypeDir)) }