Commit Graph

16 Commits

Author SHA1 Message Date
Quentin McGaw
1561babd76 chore(lint): add ireturn linter
- Return concrete structs
- Accept interfaces
- Define narrow interfaces locally where needed
2022-08-28 19:50:02 +00:00
Quentin McGaw
45c684232d chore(lint): ignore dupl linter for test files 2022-08-28 19:21:43 +00:00
Quentin McGaw
d725c7c856 chore(lint): enable all default linters 2022-08-28 15:13:52 +00:00
Quentin McGaw
bc081ef3c1 chore(lint): remove deprecated linters
- deadcode
- structcheck
- varcheck
2022-08-28 15:11:06 +00:00
Quentin McGaw
844904aa7b Maintenance: upgrade linting setup
- Update Golangci-lint to v1.40.1
- Add more linters
- Remove rules from .golangci.yml in favor of inline nolint comments
- Fix linting errors
2021-05-19 01:00:42 +00:00
Quentin McGaw
0a89666d1d Feature: public IP package to work over HTTPs and DNS (#158) 2021-03-21 17:59:17 -04:00
Quentin McGaw
18b058f188 Maintenance: fix linting errors 2021-01-14 02:01:22 +00:00
Quentin McGaw
87f59bf498 Remove uuid dependency 2020-12-17 06:05:45 +00:00
Quentin McGaw
b35658f32c Remove nolint comments in favor of golangci.yml 2020-12-17 05:58:44 +00:00
Quentin McGaw
b4310ad822 Build information written to Go binary at build 2020-12-15 07:48:27 +00:00
Quentin McGaw
3047c83ee9 Add linters and fix lint issues 2020-10-25 16:47:27 +00:00
Quentin McGaw
3272612db2 DynDNS Support (#56), fixes #55 2020-08-19 21:50:24 -04:00
Quentin McGaw
c23998bd09 Refactoring (#63)
- Only calls DNS API(s) once the public IP address changes
- Only one ip method per ip version (ipv4, ipv6, ipv4/v6)
- Gets the ip address once every period for all records
- More object oriented coding instead of functional
- Support to update ipv4 and ipv6 records separately, for supported DNS providers
2020-05-29 20:38:01 -04:00
Quentin McGaw
ea79ca53ea Update Golangci-lint to 1.26.0 2020-05-08 00:30:42 +00:00
Quentin McGaw
01e982a4cd Golangci-lint buildx fix
- Timeout of 10 minutes
- Run golangci-lint after tests and build
- Removed arch armv6 and ppc64le (too slow for golangci-lint)
2020-04-05 01:27:35 +00:00
Quentin McGaw
99d33bbcf9 Golangci lint and fixing lint issues (#48) 2020-04-04 16:38:10 -04:00