go-hep.org/x/hep@v0.38.1/version_example_test.go (about) 1 // Copyright ©2019 The go-hep Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 //go:build go1.12 6 7 package hep_test 8 9 import ( 10 "fmt" 11 12 "go-hep.org/x/hep" 13 ) 14 15 func Example_version() { 16 version, sum := hep.Version() 17 fmt.Printf("Go-HEP version: %q\n", version) 18 fmt.Printf(" checksum: %q\n", sum) 19 }