2023-05-03 22:04:29 +00:00
|
|
|
package libs
|
|
|
|
|
|
|
|
import (
|
|
|
|
"personalwebsite/webfilesystem"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Libs struct {
|
2023-05-09 22:19:06 +00:00
|
|
|
Imglib *ImagLib
|
|
|
|
Cat *Cat
|
2023-05-03 22:04:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func NewLibs(webfs *webfilesystem.WebFileSystem) Libs {
|
|
|
|
return Libs{
|
2023-05-09 22:19:06 +00:00
|
|
|
Imglib: NewImgLib(webfs),
|
|
|
|
Cat: NewCatLib(webfs),
|
2023-05-03 22:04:29 +00:00
|
|
|
}
|
|
|
|
}
|