Skip to content

Commit dff7fde

Browse files
authored
Merge pull request #15 from Fenny/master
Update memory function
2 parents 34ae4ac + 0c50765 commit dff7fde

File tree

10 files changed

+9
-2773
lines changed

10 files changed

+9
-2773
lines changed

color/color.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,15 +306,15 @@ func (c *Color) PrintfFunc() func(format string, a ...interface{}) {
306306
// colorized with color.Fprintln().
307307
func (c *Color) FprintlnFunc() func(w io.Writer, a ...interface{}) {
308308
return func(w io.Writer, a ...interface{}) {
309-
c.Fprintln(w, a...)
309+
_, _ = c.Fprintln(w, a...)
310310
}
311311
}
312312

313313
// PrintlnFunc returns a new function that prints the passed arguments as
314314
// colorized with color.Println().
315315
func (c *Color) PrintlnFunc() func(a ...interface{}) {
316316
return func(a ...interface{}) {
317-
c.Println(a...)
317+
_, _ = c.Println(a...)
318318
}
319319
}
320320

cpu/cpuid.go

Lines changed: 0 additions & 1518 deletions
This file was deleted.

cpu/cpuid_386.s

Lines changed: 0 additions & 42 deletions
This file was deleted.

cpu/cpuid_amd64.s

Lines changed: 0 additions & 42 deletions
This file was deleted.

cpu/cpuid_arm64.s

Lines changed: 0 additions & 26 deletions
This file was deleted.

cpu/cpuid_detect_arm64.go

Lines changed: 0 additions & 217 deletions
This file was deleted.

cpu/cpuid_detect_intel.go

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)