You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: creat_user_group_table.go
    path of file: ./repos/dotenx/ao-api/stores/userManagementStore
    
    the code of the file until where you have to start completion: package userManagementStore

import (
	"fmt"

	dbPkg "github.com/dotenx/dotenx/ao-api/db"
)

func (store *userManagementStore) CreateUserGroupTable(db *dbPkg.DB) (err error) {
	var stmt string
	switch db.Driver {
	case dbPkg.Postgres:
		stmt = createUserGroupTableStmt
	default:
		return fmt.Errorf("driver not supported")
	}
	_, err = db.Connection.Exec(stmt)
	if err != nil {
		return err
	}
	_, err = db.Connection.Exec(inserUsersUserGroup)
	if err !=
    
func (store *userManagementStore) CreateUserGroupTable(db *dbPkg.DB) (err error) {
	var stmt string
	switch db.Driver {
	case dbPkg.Postgres:
		stmt = createUserGroupTableStmt
	default:
		return fmt.Errorf("driver not supported")
	}
	_, err = db.Connection.Exec(stmt)
	if err != nil {
		return err
	}
	_, err = db.Connection.Exec(inserUsersUserGroup)
	if err != nil {
		return err
	}
	_, err = db.Connection.Exec(insertReadersUserGroup)
	if err != nil {
		return err
	}
	_, err = db.Connection.Exec(insertEditorsUserGroup)
	if err != nil {
		return err
	}
	_, err = db.Connection.Exec(insertWritersUserGroup)
	if err != nil {
		return err
	}
	return
}