wisski-cloud-distillery/internal/wisski/liquid/liquid.go
Tom Wiesing 8235ea9105
Require access to Still via method
This commit adds a safeguard to accessing the still from a specific
component by requiring access via the component.GetStill method.
2024-04-08 22:39:32 +02:00

16 lines
410 B
Go

// Package liquid provides Liquid
package liquid
import (
"github.com/FAU-CDI/wisski-distillery/internal/dis/component/instances/malt"
"github.com/FAU-CDI/wisski-distillery/internal/models"
)
// Liquid is the core of a WissKI Instance and used in every ingredient.
type Liquid struct {
*malt.Malt
models.Instance // TODO: move this into an explicit field
DrupalUsername string
DrupalPassword string
}