-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.go
27 lines (23 loc) · 953 Bytes
/
main.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
* Copyright 2024 Medicines Discovery Catapult
* Licensed under the Apache License, Version 2.0 (the "Licence");
* you may not use this file except in compliance with the Licence.
* You may obtain a copy of the Licence at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the Licence is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the Licence for the specific language governing permissions and
* limitations under the Licence.
*/
package main
import (
"gitlab.mdcatapult.io/informatics/software-engineering/mdc-minerva-image-converter/src/cropper"
"gitlab.mdcatapult.io/informatics/software-engineering/mdc-minerva-image-converter/src/server"
)
func main() {
cropper.SetCropper(cropper.ImplementedCropper{})
if err := server.Start(":8080"); err != nil {
panic(err)
}
}