summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-03-27 01:23:49 +0530
committerAndinus <andinus@nand.sh>2020-03-27 01:23:49 +0530
commitb01aaa498865b97d486b3da34c087a539e2a1c8a (patch)
treef7769421f7b024574217e371c9fded4e41295075
parent8990216f18e57a72e3f3061baf9a872dc457a592 (diff)
downloadperseus-b01aaa498865b97d486b3da34c087a539e2a1c8a.tar.gz
Fix common typos
-rw-r--r--auth/register.go2
-rw-r--r--storage/sqlite3/init.go2
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 {