grailbio / go-netdicom

DICOM network protocol library for golang
Apache License 2.0
64 stars 41 forks source link

Can't import module. Problem with go.mod? #5

Closed crunk1 closed 3 years ago

crunk1 commented 5 years ago

go version: 1.12.7

repro steps:

import( "fmt"

"github.com/grailbio/go-netdicom"
"github.com/grailbio/go-netdicom/dimse"

)

func main() { s, err := netdicom.NewServiceProvider(netdicom.ServiceProviderParams{CEcho: cEcho}, ":3000") if err != nil { panic(err) } s.Run() }

func cEcho(conn netdicom.ConnectionState) dimse.Status { fmt.Println("C-ECHO call") return dimse.Success }

- run `go mod init foo`
- run `go build .`

**result:**

go: finding github.com/grailbio/go-netdicom latest go: finding github.com/grailbio/go-netdicom/dimse latest go: finding github.com/grailbio/go-dicom v0.0.0 go: github.com/grailbio/go-dicom@v0.0.0: unknown revision v0.0.0 go: error loading module requirements

siddharthab commented 3 years ago

Sorry, but we are no longer working on this project and are archiving this repository.