aceberg/ExerciseDiary

View on GitHub
internal/db/quote_str.go

Summary

Maintainability
A
0 mins
Test Coverage
package db

import "strings"

func quoteStr(str string) string {
    return strings.ReplaceAll(str, "'", "''")
}