diff options
author | Andinus <andinus@nand.sh> | 2020-03-27 01:23:49 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2020-03-27 01:23:49 +0530 |
commit | b01aaa498865b97d486b3da34c087a539e2a1c8a (patch) | |
tree | f7769421f7b024574217e371c9fded4e41295075 | |
parent | 8990216f18e57a72e3f3061baf9a872dc457a592 (diff) | |
download | perseus-b01aaa498865b97d486b3da34c087a539e2a1c8a.tar.gz |
Fix common typos
-rw-r--r-- | auth/register.go | 2 | ||||
-rw-r--r-- | storage/sqlite3/init.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/auth/register.go b/auth/register.go index c50f3f4..b253f69 100644 --- a/auth/register.go +++ b/auth/register.go @@ -10,7 +10,7 @@ import ( ) // Register takes in registration details and returns an error. If -// error doesn't equal nil then the registration was unsucessful. +// error doesn't equal nil then the registration was unsuccessful. // regInfo should have username, password & ip. func Register(db *sqlite3.DB, regInfo map[string]string) error { u := user.User{} diff --git a/storage/sqlite3/init.go b/storage/sqlite3/init.go index 01ffb9e..ffdc6b9 100644 --- a/storage/sqlite3/init.go +++ b/storage/sqlite3/init.go @@ -25,7 +25,7 @@ func Init(db *DB) { // PERSEUS_DBPATH is checked. If it doesn't exist then use set // it to the default (perseus.db). Note that this is LookupEnv // so if the user has set PERSEUS_DBPATH="" then it'll return - // true for exists as it should because techincally user has + // true for exists as it should because technically user has // set the env var, the sql.Open statement will fail though. envDBPath, exists := os.LookupEnv("PERSEUS_DBPATH") if !exists { |