1
// Copyright 2015 Canonical Ltd.
2
// Licensed under the AGPLv3, see LICENCE file for details.
7
"github.com/juju/juju/state"
10
type Patcher interface {
11
PatchValue(ptr, value interface{})
14
func PatchState(p Patcher, st StateInterface) {
15
p.PatchValue(&getState, func(*state.State) StateInterface {