mirror of
https://github.com/simon-ding/polaris.git
synced 2026-04-21 11:17:30 +08:00
feat: build windows dll and call dll in flutter
This commit is contained in:
@@ -20,7 +20,7 @@ type LogFile struct {
|
||||
func (s *Server) GetAllLogs(c *gin.Context) (interface{}, error) {
|
||||
fs, err := os.ReadDir(db.LogPath)
|
||||
if err != nil {
|
||||
return nil, errors.Wrap(err, "read log dir")
|
||||
return []LogFile{}, nil
|
||||
}
|
||||
var logs []LogFile
|
||||
for _, f := range fs {
|
||||
|
||||
Reference in New Issue
Block a user