Standard library / archive/tar

archive/tar.TypeRegA

Deprecated legacy regular file flag; use TypeReg. Expected stdout: '0\n'.

Formal Syntax & Structure

go syntaxgo
const TypeRegA = '\x00'

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.TypeRegA)) }
Go Reference