Standard library / archive/tar

archive/tar.TypeSymlink

Symbolic-link header; Linkname is untrusted. Expected stdout: '50\n'.

Formal Syntax & Structure

go syntaxgo
const TypeSymlink = '2'

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