- Added the new post frontend - Hooked up publishing of posts to the site publisher - Added an site exporter as a publishing target
12 lines
141 B
Go
12 lines
141 B
Go
package db
|
|
|
|
import (
|
|
"database/sql"
|
|
|
|
"emperror.dev/errors"
|
|
)
|
|
|
|
func ErrorIsNoRows(err error) bool {
|
|
return errors.Is(err, sql.ErrNoRows)
|
|
}
|