Your ROOT_URL in app.ini is http://git.slaventius.ru/ but you are visiting http://37.143.12.169/test3k/authDB/src/commit/f68e494b3a04bed807d4586a4af7b9a9b6865cd9/vendor/github.com/sirupsen/logrus/terminal_check_solaris.go You should set ROOT_URL correctly, otherwise the web may not work correctly.
 
 
 
 
 

11 lines
224 B

package logrus
import (
"golang.org/x/sys/unix"
)
// IsTerminal returns true if the given file descriptor is a terminal.
func isTerminal(fd int) bool {
_, err := unix.IoctlGetTermio(fd, unix.TCGETA)
return err == nil
}