go - JSON file as config -



go - JSON file as config -

i have json file config. problem may see cannot compiled in go , i'm worried might impact performance of application since json imported every request. improve off using struct , initialising in separate go file?

if can store configuration go code, assume configuration not alter during execution of application. load configuration when application starts , store parsed representation in memory, perchance referenced bundle level variable.

go

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -