A clean, Markdown-based publishing platform made for writers. Write together, and build a community. https://writefreely.org
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 

29 righe
637 B

  1. // +build wflib
  2. /*
  3. * Copyright © 2019-2020 A Bunch Tell LLC.
  4. *
  5. * This file is part of WriteFreely.
  6. *
  7. * WriteFreely is free software: you can redistribute it and/or modify
  8. * it under the terms of the GNU Affero General Public License, included
  9. * in the LICENSE file in this source code package.
  10. */
  11. // This file contains dummy database funcs for when writefreely is used as a
  12. // library.
  13. package writefreely
  14. func (db *datastore) isDuplicateKeyErr(err error) bool {
  15. return false
  16. }
  17. func (db *datastore) isIgnorableError(err error) bool {
  18. return false
  19. }
  20. func (db *datastore) isHighLoadError(err error) bool {
  21. return false
  22. }