18 lines
242 B
Go
18 lines
242 B
Go
package libs
|
|
|
|
import (
|
|
"personalwebsite/webfilesystem"
|
|
)
|
|
|
|
type Libs struct {
|
|
Imglib *ImagLib
|
|
Cat *Cat
|
|
}
|
|
|
|
func NewLibs(webfs *webfilesystem.WebFileSystem) Libs {
|
|
return Libs{
|
|
Imglib: NewImgLib(webfs),
|
|
Cat: NewCatLib(webfs),
|
|
}
|
|
}
|