Elliot Chance
Jun 16 · 1 min read

YAML has no significance for @ , but many parsers don’t like strings to start with a @ so it must be encapsulated with quotes.

I am just using a regular expression to replace the service name in the YAML :@{FooBar}, with the function for that service in the generated Go: container.GetFooBar().

Does that answer your question?

    Elliot Chance

    Written by

    I’m a data nerd and TDD enthusiast from Sydney. I love exploring new technologies and working on modern ways to solve age old problems 🤓 elliotchance@gmail.com