diff --git a/README.md b/README.md index 8b8f125..dafc29e 100644 --- a/README.md +++ b/README.md @@ -66,8 +66,8 @@ Show application information. ```json { - "Name": "Lithium", - "Version": "0.1.0" + "name": "Lithium", + "version": "0.1.0" } ``` diff --git a/main.go b/main.go index 79145dc..41262ca 100644 --- a/main.go +++ b/main.go @@ -16,8 +16,8 @@ const Name string = "Lithium" const Version string = "0.1.0" type Metadata struct { - Name string - Version string + Name string `json:"name"` + Version string `json:"version"` } func PipelineHandler(pipeline pipelines.IPipeline, storageProvider storage.IStorageProvider, w http.ResponseWriter, r *http.Request) {