Highly-opinionated (ex-bullshit-free) MTPROTO proxy for Telegram. If you use v1.0 or upgrade broke you proxy, please read the chapter Version 2
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

.golangci.toml 584B

123456789101112131415161718192021222324252627282930
  1. # https://golangci-lint.run/docs/configuration/file/
  2. version = '2'
  3. [run]
  4. concurrency = 4
  5. tests = true
  6. # [linters]
  7. # enable-all = true
  8. # disable = [
  9. # "containedctx",
  10. # "exhaustivestruct",
  11. # "exhaustruct",
  12. # "gas",
  13. # "gochecknoglobals",
  14. # "goerr113",
  15. # "ireturn",
  16. # "thelper",
  17. # "varnamelen",
  18. # ]
  19. # Benchmark and tool code: unchecked Close/Write/Fprintf is fine.
  20. [[linters.exclusions.rules]]
  21. path = 'benchmarks/'
  22. linters = ['errcheck', 'ineffassign']
  23. [[linters.exclusions.rules]]
  24. path = '_bench_test\.go$'
  25. linters = ['errcheck', 'ineffassign']