Compare commits
2 Commits
d1ddb2295d
...
69be01a1db
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
69be01a1db | ||
|
|
dd4aca086d |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
|||||||
go-demo/app-1
|
go-demo/app-1
|
||||||
go-demo-4/data.json
|
go-demo-4/data.json
|
||||||
|
go-demo-4/.env
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"os"
|
||||||
"password/account"
|
"password/account"
|
||||||
"password/files"
|
"password/files"
|
||||||
"password/output"
|
"password/output"
|
||||||
@@ -36,6 +37,8 @@ func menuCounter() func() {
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
color.Blue("__Менеджер паролей__")
|
color.Blue("__Менеджер паролей__")
|
||||||
|
res := os.Getenv("PWD")
|
||||||
|
fmt.Println(res)
|
||||||
vault := account.NewVault(files.NewJsonDb("data.json"))
|
vault := account.NewVault(files.NewJsonDb("data.json"))
|
||||||
counter := menuCounter()
|
counter := menuCounter()
|
||||||
Menu:
|
Menu:
|
||||||
|
|||||||
Reference in New Issue
Block a user