This commit adds a safeguard to accessing the still from a specific component by requiring access via the component.GetStill method.
16 lines
410 B
Go
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
|
|
}
|