mirror of
https://github.com/therootcompany/golib.git
synced 2026-04-24 12:48:00 +00:00
os.IsNotExist does not recognize fs.ErrNotExist when wrapped by an fs.FS implementation. Switch to errors.Is(err, fs.ErrNotExist) so the "file not found" check works for both os.Open and fs.FS.Open.
6 lines
148 B
Modula-2
6 lines
148 B
Modula-2
module github.com/therootcompany/golib/database/sqlmigrate/shmigrate
|
|
|
|
go 1.26.1
|
|
|
|
require github.com/therootcompany/golib/database/sqlmigrate v1.0.0
|