func TypeByFile(filename string) (string, error) {
	decMu.Lock()
	defer decMu.Unlock()
	return dec.TypeByFile(filename)
}
// TypeByFile calls TypeByFile on the global Decoder. This is safe for
// concurrent use with the other package level TypeBy* functions.
TypeByFile calls TypeByFile on the global Decoder. This is safe for
concurrent use with the other package level TypeBy* functions.
// TypeByFile calls TypeByFile on the global Decoder . This is safe for // concurrent use with the other package level TypeBy * functions .
func TypeByFile(filename string) (string, error) {
	decMu.Lock()
	defer decMu.Unlock()
	return dec.TypeByFile(filename)
}
func TypeByFile ( filename string ) ( string , error ) { decMu . Lock ( ) defer decMu . Unlock ( ) return dec . TypeByFile ( filename ) }
TypeByFile calls TypeByFile on the global Decoder.
TypeByFile calls TypeByFile on the global Decoder .