mirror of
https://github.com/celogeek/go-comic-converter.git
synced 2025-05-25 08:12:36 +02:00
use interface
This commit is contained in:
parent
6c904ad70b
commit
421a5ef5a7
@ -7,7 +7,7 @@ import (
|
|||||||
"github.com/disintegration/gift"
|
"github.com/disintegration/gift"
|
||||||
)
|
)
|
||||||
|
|
||||||
func AutoRotate() *autoRotateFilter {
|
func AutoRotate() gift.Filter {
|
||||||
return &autoRotateFilter{}
|
return &autoRotateFilter{}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ import (
|
|||||||
"github.com/disintegration/gift"
|
"github.com/disintegration/gift"
|
||||||
)
|
)
|
||||||
|
|
||||||
func CropSplitDoublePage(right bool) *cropSplitDoublePage {
|
func CropSplitDoublePage(right bool) gift.Filter {
|
||||||
return &cropSplitDoublePage{right}
|
return &cropSplitDoublePage{right}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user