github.com/uvalib/orcid-access-ws@v0.0.0-20250612130209-7d062dbabf9d/orcidaccessws/handlers/version_handler.go (about)

     1  package handlers
     2  
     3  import (
     4  	"net/http"
     5  )
     6  
     7  // VersionInfo - get version handler
     8  func VersionInfo(w http.ResponseWriter, r *http.Request) {
     9  	// create response
    10  	encodeVersionResponse(w, http.StatusOK, Version())
    11  }
    12  
    13  //
    14  // end of file
    15  //