mirror of
https://github.com/zaphar/ucg.git
synced 2025-07-25 18:49:50 -04:00
12 lines
349 B
Plaintext
12 lines
349 B
Plaintext
|
let composed = module{} => {
|
||
|
import "host_module.ucg" as host_mod;
|
||
|
import "site_module.ucg" as site_mod;
|
||
|
|
||
|
let site_conf = site_mod.site_mod{hostname="example.com", port=80};
|
||
|
let host_conf = host_mod.host_mod{hostname="example.com"};
|
||
|
};
|
||
|
|
||
|
let unified = composed{};
|
||
|
|
||
|
let site_conf = unified.site_conf;
|
||
|
let host_conf = unified.host_conf;
|