|
@@ -34,10 +34,7 @@ func (t *Trivella) Scendi() *Trivella {
|
|
|
|
|
|
// TrInit assigns the writer to a Trivella
|
|
|
func TrInit(writer io.Writer, level uint) *Trivella {
|
|
|
- var t Trivella
|
|
|
- t.Writer = writer
|
|
|
- t.Level = level
|
|
|
- return &t
|
|
|
+ return &Trivella{Writer: writer, Level: level}
|
|
|
}
|
|
|
|
|
|
// Ruspa is the asynchronous worker that is in charge of collecting
|