Standard library / archive/tar
archive/tar.TypeReg
Regular file with data. Expected stdout: '48\n'.
Formal Syntax & Structure
go syntaxgo
const TypeReg = '0'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.TypeReg)) }