github.com/apptainer/singularity@v3.1.1+incompatible/internal/pkg/util/goversion/goversion_unsupported.go (about)

     1  // Copyright (c) 2018, Sylabs Inc. All rights reserved.
     2  // This software is licensed under a 3-clause BSD license. Please consult the
     3  // LICENSE.md file distributed with the sources of this project regarding your
     4  // rights to use or distribute this software.
     5  
     6  // +build !go1.10
     7  
     8  package goversion
     9  
    10  import "fmt"
    11  
    12  // Check checks if we are running with the minimal recommended version of Go
    13  func Check() error {
    14  	return fmt.Errorf("Singularity requires to be compiled with a Go version >= 1.10")
    15  }