GetPostgresSocketDir returns the postgres socket directory of Bytebase.
()
| 70 | |
| 71 | // GetPostgresSocketDir returns the postgres socket directory of Bytebase. |
| 72 | func GetPostgresSocketDir() string { |
| 73 | return "/tmp" |
| 74 | } |
| 75 | |
| 76 | // TruncateString truncates the string to have a maximum length of `limit` characters. |
| 77 | func TruncateString(str string, limit int) (string, bool) { |
no outgoing calls
no test coverage detected