Skip to content

Commit

Permalink
Check in generated code (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall authored Jul 9, 2024
1 parent c53a6c0 commit 50f8e60
Show file tree
Hide file tree
Showing 4 changed files with 531 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,3 @@ workbench.yaml
output.json
go-islandora
islandora-starter-site
api/islandora.gen.go
workbench/workbench.gen.go
300 changes: 300 additions & 0 deletions api/islandora.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 3 additions & 6 deletions workbench/impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,9 @@ func NewServer() Server {
func (Server) PostUpload(w http.ResponseWriter, r *http.Request) {

// TODO: transform the vanilla CSV into workbench CSV
resp := IslandoraObject{
Title: &islandoraModel.GenericField{
islandoraModel.Generic{
Value: "foo",
},
},
title := "foo"
resp := SheetsCsv{
Title: &title,
}

w.WriteHeader(http.StatusOK)
Expand Down
Loading

0 comments on commit 50f8e60

Please sign in to comment.