mirror of
https://github.com/Open-Argon/argon-v3.git
synced 2025-12-06 08:56:07 +00:00
Start supporting numbers and strings
This commit is contained in:
21
src/main.go
21
src/main.go
@@ -1,8 +1,23 @@
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
import (
|
||||
"os"
|
||||
)
|
||||
|
||||
// args without the program path
|
||||
var Args = os.Args[1:]
|
||||
|
||||
func main() {
|
||||
translate("")
|
||||
fmt.Println("hello world")
|
||||
|
||||
ex, e := os.Getwd()
|
||||
if e != nil {
|
||||
panic(e)
|
||||
}
|
||||
if len(Args) == 0 {
|
||||
panic("No file specified")
|
||||
}
|
||||
err := importMod(Args[0], ex, true)
|
||||
if err != "" {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user