diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-01-06 23:55:12 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-01-06 23:55:12 +0300 |
| commit | 4820c7696db3c54959258b1a5b00c77e1246cbd7 (patch) | |
| tree | 179edfca03618395939df1c3afccf2c90c64d424 /backend/controllers/demoController.go | |
| parent | (#20) successful integration of demo upload to drive (diff) | |
| download | lphub-4820c7696db3c54959258b1a5b00c77e1246cbd7.tar.gz lphub-4820c7696db3c54959258b1a5b00c77e1246cbd7.tar.bz2 lphub-4820c7696db3c54959258b1a5b00c77e1246cbd7.zip | |
what the fuck is this mess (#21)
Diffstat (limited to 'backend/controllers/demoController.go')
| -rw-r--r-- | backend/controllers/demoController.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/controllers/demoController.go b/backend/controllers/demoController.go index fdabbae..85f6ede 100644 --- a/backend/controllers/demoController.go +++ b/backend/controllers/demoController.go | |||
| @@ -40,7 +40,7 @@ func UploadDemo(c *gin.Context) { | |||
| 40 | }) | 40 | }) |
| 41 | return | 41 | return |
| 42 | }*/ | 42 | }*/ |
| 43 | f, err := os.Open("test.txt") | 43 | f, err := os.Open("pgun_2280.dem") |
| 44 | if err != nil { | 44 | if err != nil { |
| 45 | panic(fmt.Sprintf("cannot open file: %v", err)) | 45 | panic(fmt.Sprintf("cannot open file: %v", err)) |
| 46 | } | 46 | } |