diff options
author | xengineering <me@xengineering.eu> | 2024-03-25 20:10:12 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-03-25 20:10:12 +0100 |
commit | 560999995ff4d8e9ec3393c3aaca4d7fbace7c95 (patch) | |
tree | 29fe5acbea265144c37df61bc2ca0e88fb2c270b /config.go | |
parent | 82b6721e5fe7e626c6c731e408be9c989caf370c (diff) | |
download | webiot-560999995ff4d8e9ec3393c3aaca4d7fbace7c95.tar webiot-560999995ff4d8e9ec3393c3aaca4d7fbace7c95.tar.zst webiot-560999995ff4d8e9ec3393c3aaca4d7fbace7c95.zip |
Make parsed templates a global variable
This allows to parse the templates during startup and use them in each
HTTP handler without explicit passing to these handlers.
Diffstat (limited to 'config.go')
0 files changed, 0 insertions, 0 deletions