refactor: split server cmd and module It should now be possible to run the server from inside another go application by importing the main module and running its Start() function
1 file changed, 3 insertions(+), 0 deletions(-)
changed files
M nix/package.nix → nix/package.nix
@@ -31,9 +31,12 @@ ../go.sum ../searchix.go ../internal ../frontend + ../cmd ]) (maybeMissing ../frontend/static/base.css); }; + + subPackages = [ "cmd/searchix-web" ]; patchPhase = '' rm -f frontend/static/base.css