2
Repeating Nodes With YAML Aliases Like A Pro
source link: https://hackernoon.com/repeating-nodes-with-yaml-aliases-like-a-pro-5jn34yo
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Simple Example
hello: &hello 'hello'
greeting:
audience: 'world'
hello: *hello #greeting.hello has the string value of 'hello'
new_greeting:
audience: 'room'
hello: *hello #new_greeting.hello has the string value of 'hello'
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK