Standard library / archive/tar

archive/tar.TypeChar

Character-device header; do not create devices from untrusted archives. Expected stdout: '51\n'.

Formal Syntax & Structure

go syntaxgo
const TypeChar = '3'

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