longurl
longurl copied to clipboard
A self-hosted short url service
Results
1
longurl issues
Sort by
recently updated
recently updated
newest added
``` database: type: mysql dsn: root:123456@tcp(127.0.0.1:3306)/longurl?parseTime=true ``` 这里的配置如果用postgres的话type需要填什么= =填什么都是`unknown type` 自己搜了下ent的文档 https://entgo.io/docs/sql-integration/#use-pgx-with-postgresql db/client.go如果要支持postgres是不是要用pgx驱动 ``` "entgo.io/ent/dialect" _ "github.com/jackc/pgx/v5/stdlib" ```