Skip to content

Commit

Permalink
adding expert node setcreatedin
Browse files Browse the repository at this point in the history
  • Loading branch information
wcharczuk committed Feb 17, 2024
1 parent 9ff71e6 commit 481eed3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion expert_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ func ExpertNode(in INode) IExpertNode {
// and you should use this interface at your own caution.
type IExpertNode interface {
CreatedIn() Scope
SetCreatedIn(Scope)
SetID(Identifier)

Valid() bool
Expand Down Expand Up @@ -77,7 +78,8 @@ type expertNode struct {
node *Node
}

func (en *expertNode) CreatedIn() Scope { return en.node.createdIn }
func (en *expertNode) CreatedIn() Scope { return en.node.createdIn }
func (en *expertNode) SetCreatedIn(scope Scope) { en.node.createdIn = scope }

func (en *expertNode) SetID(id Identifier) {
en.node.id = id
Expand Down

0 comments on commit 481eed3

Please sign in to comment.