go mode loader add newline handling