summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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 {