message_compile
v1.0.0
Published
core:
Readme
message_compile
core:
messages = {
['MS-001']: '[abc] Messenger 1',
['MS-01']: '[abc] [xyz] [test]',
}
input:
reponse = {};
reponse.a = MSG('MS-001', { abc: 'test abc' });
reponse.b = MSG('MS-01', { abc: 'test abc', xyz: 'xyz' });
reponse.c = MSG('MS-02');
output:
{ a: 'test abc Messenger 1', b: 'test abc xyz [test]', c: '' }
