Migrated to REST backend RIVM-31

This commit is contained in:
Mihail Slobodyanuk 2022-12-16 11:43:46 +02:00
parent 609ba1a3cd
commit d68d3db702
9 changed files with 237 additions and 313 deletions

View file

@ -4,19 +4,9 @@
package main
import (
"os"
"syscall"
)
func get_user_home_path() string {
path, exists := os.LookupEnv("USERPROFILE")
if exists {
return path
} else {
return ""
}
}
func Console(show bool) {
var getWin = syscall.NewLazyDLL("kernel32.dll").NewProc("GetConsoleWindow")
var showWin = syscall.NewLazyDLL("user32.dll").NewProc("ShowWindow")