Created
November 1, 2023 12:07
-
-
Save run-dlang/4dca17b6f50df497aff6ec5209de14df to your computer and use it in GitHub Desktop.
Code shared from run.dlang.io. Run with '-i -run test.d'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- test.d | |
module test; | |
import libweb; | |
void main() | |
{ | |
runClient(); | |
runServer(); | |
runConv(); | |
runText(); | |
import std; | |
writeln("test"); | |
} | |
--- libweb/package.d | |
module libweb; | |
public import libweb.client; | |
public import libweb.server; | |
public import libweb.utils; | |
--- libweb/client.d | |
module libweb.client; | |
void runClient() { } | |
--- libweb/server.d | |
module libweb.server; | |
void runServer() { } | |
--- libweb/utils/package.d | |
module libweb.utils; | |
public import libweb.utils.conv; | |
public import libweb.utils.text; | |
--- libweb/utils/conv.d | |
module utils.conv; | |
void runConv() { } | |
--- libweb/utils/text.d | |
module utils.text; | |
void runText() { } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment