diff options
| author | Jeff Carr <[email protected]> | 2024-10-31 14:15:36 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-31 14:15:36 -0500 |
| commit | b4ef8b76b1a92ef4da9fc0892c59a00f6f63a130 (patch) | |
| tree | 590ccbbe8e0125514704b147e2a3891e5dd9aa3a /http.go | |
| parent | 3c520003edb286deec57ce62c447373912787829 (diff) | |
runs again
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'http.go')
| -rw-r--r-- | http.go | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -57,19 +57,19 @@ func okHandler(w http.ResponseWriter, r *http.Request) { return } - if route == "/create" { - log.Info("virtigo create starts here") - fmt.Fprintln(w, "virtigo create starts here") + if route == "/import" { + log.Info("virtigo import starts here") + fmt.Fprintln(w, "virtigo import starts here") result, err := create(w, r) if err != nil { - log.Info("virtigo create failed") + log.Info("virtigo import failed") log.Info(result) - fmt.Fprintln(w, "virtigo create failed") + fmt.Fprintln(w, "virtigo import failed") fmt.Fprintln(w, result) return } - log.Info("virtigo create ends here") - fmt.Fprintln(w, "virtigo create ends here") + log.Info("virtigo import ends here") + fmt.Fprintln(w, "virtigo import ends here") return } |
