A clean, Markdown-based publishing platform made for writers. Write together, and build a community. https://writefreely.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

18 lines
266 B

  1. package writefreely
  2. import (
  3. "encoding/gob"
  4. "math/rand"
  5. "os"
  6. "testing"
  7. "time"
  8. )
  9. // TestMain provides testing infrastructure within this package.
  10. func TestMain(m *testing.M) {
  11. rand.Seed(time.Now().UTC().UnixNano())
  12. gob.Register(&User{})
  13. os.Exit(m.Run())
  14. }