diff --git a/.github/workflows/exercise-tests.yml b/.github/workflows/exercise-tests.yml index 2abd85f0b..b18fb9465 100644 --- a/.github/workflows/exercise-tests.yml +++ b/.github/workflows/exercise-tests.yml @@ -15,17 +15,17 @@ jobs: strategy: fail-fast: false matrix: - go-version: [1.18.x] + go-version: [1.20.x] os: [ubuntu-latest, windows-latest, macOS-latest] test-arch: [amd64] race: ["-race"] include: - - go-version: 1.18.x + - go-version: 1.20.x test-arch: "386" os: ubuntu-latest race: "" - - go-version: 1.18.x + - go-version: 1.20.x test-arch: "386" os: windows-latest race: "" diff --git a/.github/workflows/stub-tests.yml b/.github/workflows/stub-tests.yml index d103e8c62..ac596c00b 100644 --- a/.github/workflows/stub-tests.yml +++ b/.github/workflows/stub-tests.yml @@ -15,17 +15,17 @@ jobs: strategy: fail-fast: false matrix: - go-version: [1.18.x] + go-version: [1.20.x] os: [ubuntu-latest, windows-latest, macOS-latest] test-arch: [amd64] race: ["-race"] include: - - go-version: 1.18.x + - go-version: 1.20.x test-arch: "386" os: ubuntu-latest race: "" - - go-version: 1.18.x + - go-version: 1.20.x test-arch: "386" os: windows-latest race: "" diff --git a/bin/fetch-golangci-lint b/bin/fetch-golangci-lint index ea29432d4..9e7cc4373 100755 --- a/bin/fetch-golangci-lint +++ b/bin/fetch-golangci-lint @@ -1,3 +1,3 @@ #!/bin/bash -curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.50.1 +curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.51.2 diff --git a/exercises/concept/airport-robot/go.mod b/exercises/concept/airport-robot/go.mod index 277a4ab41..fa3066af4 100644 --- a/exercises/concept/airport-robot/go.mod +++ b/exercises/concept/airport-robot/go.mod @@ -1,3 +1,3 @@ module airportrobot -go 1.16 +go 1.18 diff --git a/exercises/concept/animal-magic/go.mod b/exercises/concept/animal-magic/go.mod index c67af72c0..978f6ed49 100644 --- a/exercises/concept/animal-magic/go.mod +++ b/exercises/concept/animal-magic/go.mod @@ -1,3 +1,3 @@ module chance -go 1.16 +go 1.18 diff --git a/exercises/concept/annalyns-infiltration/go.mod b/exercises/concept/annalyns-infiltration/go.mod index ed43de4a0..ac4f60d11 100644 --- a/exercises/concept/annalyns-infiltration/go.mod +++ b/exercises/concept/annalyns-infiltration/go.mod @@ -1,3 +1,3 @@ module annalyn -go 1.16 +go 1.18 diff --git a/exercises/concept/bird-watcher/go.mod b/exercises/concept/bird-watcher/go.mod index 4ff9d8500..a6ec799d6 100644 --- a/exercises/concept/bird-watcher/go.mod +++ b/exercises/concept/bird-watcher/go.mod @@ -1,3 +1,3 @@ module birdwatcher -go 1.16 +go 1.18 diff --git a/exercises/concept/blackjack/go.mod b/exercises/concept/blackjack/go.mod index a86b1b9a4..4447501f4 100644 --- a/exercises/concept/blackjack/go.mod +++ b/exercises/concept/blackjack/go.mod @@ -1,3 +1,3 @@ module blackjack -go 1.16 +go 1.18 diff --git a/exercises/concept/booking-up-for-beauty/go.mod b/exercises/concept/booking-up-for-beauty/go.mod index 7262bc9ff..458983ea5 100644 --- a/exercises/concept/booking-up-for-beauty/go.mod +++ b/exercises/concept/booking-up-for-beauty/go.mod @@ -1,3 +1,3 @@ module booking -go 1.16 +go 1.18 diff --git a/exercises/concept/card-tricks/go.mod b/exercises/concept/card-tricks/go.mod index 1ae609c19..2b1747dbc 100644 --- a/exercises/concept/card-tricks/go.mod +++ b/exercises/concept/card-tricks/go.mod @@ -1,3 +1,3 @@ module cards -go 1.16 +go 1.18 diff --git a/exercises/concept/cars-assemble/go.mod b/exercises/concept/cars-assemble/go.mod index 63203970d..d07757832 100644 --- a/exercises/concept/cars-assemble/go.mod +++ b/exercises/concept/cars-assemble/go.mod @@ -1,3 +1,3 @@ module cars -go 1.16 +go 1.18 diff --git a/exercises/concept/census/go.mod b/exercises/concept/census/go.mod index 1f6bb57a6..4afbf5686 100644 --- a/exercises/concept/census/go.mod +++ b/exercises/concept/census/go.mod @@ -1,3 +1,3 @@ module census -go 1.16 +go 1.18 diff --git a/exercises/concept/chessboard/go.mod b/exercises/concept/chessboard/go.mod index d7963966e..c105e034d 100644 --- a/exercises/concept/chessboard/go.mod +++ b/exercises/concept/chessboard/go.mod @@ -1,3 +1,3 @@ module chessboard -go 1.16 +go 1.18 diff --git a/exercises/concept/deep-thought/go.mod b/exercises/concept/deep-thought/go.mod index 82bd9c0ae..1d3772806 100644 --- a/exercises/concept/deep-thought/go.mod +++ b/exercises/concept/deep-thought/go.mod @@ -1,3 +1,3 @@ module deepthought -go 1.16 +go 1.18 diff --git a/exercises/concept/election-day/go.mod b/exercises/concept/election-day/go.mod index 897a8b220..b5a25d0d5 100644 --- a/exercises/concept/election-day/go.mod +++ b/exercises/concept/election-day/go.mod @@ -1,3 +1,3 @@ module electionday -go 1.16 +go 1.18 diff --git a/exercises/concept/elons-toys/go.mod b/exercises/concept/elons-toys/go.mod index f89c3f5d8..ac2094972 100644 --- a/exercises/concept/elons-toys/go.mod +++ b/exercises/concept/elons-toys/go.mod @@ -1,4 +1,4 @@ module elon -go 1.16 +go 1.18 diff --git a/exercises/concept/expenses/go.mod b/exercises/concept/expenses/go.mod index 4a15b8453..a8303b250 100644 --- a/exercises/concept/expenses/go.mod +++ b/exercises/concept/expenses/go.mod @@ -1,3 +1,3 @@ module expenses -go 1.16 +go 1.18 diff --git a/exercises/concept/gross-store/go.mod b/exercises/concept/gross-store/go.mod index 0dc0f2ffd..ec197cda1 100644 --- a/exercises/concept/gross-store/go.mod +++ b/exercises/concept/gross-store/go.mod @@ -1,3 +1,3 @@ module gross -go 1.16 +go 1.18 diff --git a/exercises/concept/interest-is-interesting/go.mod b/exercises/concept/interest-is-interesting/go.mod index e6c3cb088..6e5041502 100644 --- a/exercises/concept/interest-is-interesting/go.mod +++ b/exercises/concept/interest-is-interesting/go.mod @@ -1,3 +1,3 @@ module interest -go 1.16 +go 1.18 diff --git a/exercises/concept/lasagna-master/go.mod b/exercises/concept/lasagna-master/go.mod index 0d1c4edff..c64fd0717 100644 --- a/exercises/concept/lasagna-master/go.mod +++ b/exercises/concept/lasagna-master/go.mod @@ -1,3 +1,3 @@ module lasagna -go 1.16 +go 1.18 diff --git a/exercises/concept/lasagna/go.mod b/exercises/concept/lasagna/go.mod index 0d1c4edff..c64fd0717 100644 --- a/exercises/concept/lasagna/go.mod +++ b/exercises/concept/lasagna/go.mod @@ -1,3 +1,3 @@ module lasagna -go 1.16 +go 1.18 diff --git a/exercises/concept/logs-logs-logs/go.mod b/exercises/concept/logs-logs-logs/go.mod index 3fbf489a4..47a92fde7 100644 --- a/exercises/concept/logs-logs-logs/go.mod +++ b/exercises/concept/logs-logs-logs/go.mod @@ -1,3 +1,3 @@ module logs -go 1.16 +go 1.18 diff --git a/exercises/concept/meteorology/go.mod b/exercises/concept/meteorology/go.mod index 0135997c5..df2aa7c62 100644 --- a/exercises/concept/meteorology/go.mod +++ b/exercises/concept/meteorology/go.mod @@ -1,3 +1,3 @@ module meteorology -go 1.16 +go 1.18 diff --git a/exercises/concept/need-for-speed/go.mod b/exercises/concept/need-for-speed/go.mod index 0c0460f9b..67f429012 100644 --- a/exercises/concept/need-for-speed/go.mod +++ b/exercises/concept/need-for-speed/go.mod @@ -1,3 +1,3 @@ module speed -go 1.16 +go 1.18 diff --git a/exercises/concept/parsing-log-files/go.mod b/exercises/concept/parsing-log-files/go.mod index 54f29445e..bbe753f0b 100644 --- a/exercises/concept/parsing-log-files/go.mod +++ b/exercises/concept/parsing-log-files/go.mod @@ -1,3 +1,3 @@ module parsinglogfiles -go 1.16 +go 1.18 diff --git a/exercises/concept/party-robot/go.mod b/exercises/concept/party-robot/go.mod index 7984d7a23..2e74aeaae 100644 --- a/exercises/concept/party-robot/go.mod +++ b/exercises/concept/party-robot/go.mod @@ -1,3 +1,3 @@ module partyrobot -go 1.16 +go 1.18 diff --git a/exercises/concept/savings-account/go.mod b/exercises/concept/savings-account/go.mod index 149ab923e..0627d849f 100644 --- a/exercises/concept/savings-account/go.mod +++ b/exercises/concept/savings-account/go.mod @@ -1,3 +1,3 @@ module savings -go 1.16 +go 1.18 diff --git a/exercises/concept/sorting-room/go.mod b/exercises/concept/sorting-room/go.mod index 1ef303dc3..2916a94c3 100644 --- a/exercises/concept/sorting-room/go.mod +++ b/exercises/concept/sorting-room/go.mod @@ -1,3 +1,3 @@ module sorting -go 1.16 +go 1.18 diff --git a/exercises/concept/the-farm/go.mod b/exercises/concept/the-farm/go.mod index f8c8d842a..1b6bbe5d1 100644 --- a/exercises/concept/the-farm/go.mod +++ b/exercises/concept/the-farm/go.mod @@ -1,4 +1,4 @@ module thefarm -go 1.16 +go 1.18 diff --git a/exercises/concept/vehicle-purchase/go.mod b/exercises/concept/vehicle-purchase/go.mod index 2cb931c47..b995ec795 100644 --- a/exercises/concept/vehicle-purchase/go.mod +++ b/exercises/concept/vehicle-purchase/go.mod @@ -1,3 +1,3 @@ module purchase -go 1.16 +go 1.18 diff --git a/exercises/concept/weather-forecast/go.mod b/exercises/concept/weather-forecast/go.mod index 1c223774f..cbea8d209 100644 --- a/exercises/concept/weather-forecast/go.mod +++ b/exercises/concept/weather-forecast/go.mod @@ -1,3 +1,3 @@ module weather -go 1.16 \ No newline at end of file +go 1.18 \ No newline at end of file diff --git a/exercises/concept/welcome-to-tech-palace/go.mod b/exercises/concept/welcome-to-tech-palace/go.mod index 4193bd0ad..bfddd3b4e 100644 --- a/exercises/concept/welcome-to-tech-palace/go.mod +++ b/exercises/concept/welcome-to-tech-palace/go.mod @@ -1,3 +1,3 @@ module techpalace -go 1.16 +go 1.18 diff --git a/exercises/practice/accumulate/go.mod b/exercises/practice/accumulate/go.mod index 05acc6066..d5b726a00 100644 --- a/exercises/practice/accumulate/go.mod +++ b/exercises/practice/accumulate/go.mod @@ -1,3 +1,3 @@ module accumulate -go 1.16 +go 1.18 diff --git a/exercises/practice/acronym/go.mod b/exercises/practice/acronym/go.mod index 98d82d943..38e914e81 100644 --- a/exercises/practice/acronym/go.mod +++ b/exercises/practice/acronym/go.mod @@ -1,3 +1,3 @@ module acronym -go 1.16 +go 1.18 diff --git a/exercises/practice/all-your-base/go.mod b/exercises/practice/all-your-base/go.mod index d2a53ac19..4d95beae1 100644 --- a/exercises/practice/all-your-base/go.mod +++ b/exercises/practice/all-your-base/go.mod @@ -1,3 +1,3 @@ module allyourbase -go 1.16 +go 1.18 diff --git a/exercises/practice/allergies/go.mod b/exercises/practice/allergies/go.mod index 66ab3ad22..5e21886ec 100644 --- a/exercises/practice/allergies/go.mod +++ b/exercises/practice/allergies/go.mod @@ -1,3 +1,3 @@ module allergies -go 1.16 +go 1.18 diff --git a/exercises/practice/alphametics/go.mod b/exercises/practice/alphametics/go.mod index 466a7995c..44d08b667 100644 --- a/exercises/practice/alphametics/go.mod +++ b/exercises/practice/alphametics/go.mod @@ -1,3 +1,3 @@ module alphametics -go 1.16 +go 1.18 diff --git a/exercises/practice/anagram/go.mod b/exercises/practice/anagram/go.mod index 17906d4f9..20d282119 100644 --- a/exercises/practice/anagram/go.mod +++ b/exercises/practice/anagram/go.mod @@ -1,3 +1,3 @@ module anagram -go 1.16 +go 1.18 diff --git a/exercises/practice/armstrong-numbers/go.mod b/exercises/practice/armstrong-numbers/go.mod index d59139fc5..633cedd33 100644 --- a/exercises/practice/armstrong-numbers/go.mod +++ b/exercises/practice/armstrong-numbers/go.mod @@ -1,3 +1,3 @@ module armstrong -go 1.16 +go 1.18 diff --git a/exercises/practice/atbash-cipher/go.mod b/exercises/practice/atbash-cipher/go.mod index dead754a3..829fea7e4 100644 --- a/exercises/practice/atbash-cipher/go.mod +++ b/exercises/practice/atbash-cipher/go.mod @@ -1,3 +1,3 @@ module atbash -go 1.16 +go 1.18 diff --git a/exercises/practice/bank-account/go.mod b/exercises/practice/bank-account/go.mod index 59fce13ad..3df1f6935 100644 --- a/exercises/practice/bank-account/go.mod +++ b/exercises/practice/bank-account/go.mod @@ -1,3 +1,3 @@ module account -go 1.16 +go 1.18 diff --git a/exercises/practice/beer-song/go.mod b/exercises/practice/beer-song/go.mod index 9e61e83a8..db937ef4c 100644 --- a/exercises/practice/beer-song/go.mod +++ b/exercises/practice/beer-song/go.mod @@ -1,3 +1,3 @@ module beer -go 1.16 +go 1.18 diff --git a/exercises/practice/binary-search-tree/go.mod b/exercises/practice/binary-search-tree/go.mod index a4108577f..2ede47d8b 100644 --- a/exercises/practice/binary-search-tree/go.mod +++ b/exercises/practice/binary-search-tree/go.mod @@ -1,3 +1,3 @@ module binarysearchtree -go 1.16 +go 1.18 diff --git a/exercises/practice/binary-search/go.mod b/exercises/practice/binary-search/go.mod index 8d373fab6..3aa05a3ab 100644 --- a/exercises/practice/binary-search/go.mod +++ b/exercises/practice/binary-search/go.mod @@ -1,3 +1,3 @@ module binarysearch -go 1.16 +go 1.18 diff --git a/exercises/practice/binary/go.mod b/exercises/practice/binary/go.mod index acb2ce21c..2ca8ccbe9 100644 --- a/exercises/practice/binary/go.mod +++ b/exercises/practice/binary/go.mod @@ -1,3 +1,3 @@ module binary -go 1.16 +go 1.18 diff --git a/exercises/practice/bob/go.mod b/exercises/practice/bob/go.mod index bb3a55b78..3aef05c66 100644 --- a/exercises/practice/bob/go.mod +++ b/exercises/practice/bob/go.mod @@ -1,3 +1,3 @@ module bob -go 1.16 +go 1.18 diff --git a/exercises/practice/book-store/go.mod b/exercises/practice/book-store/go.mod index fa5154394..9007663c5 100644 --- a/exercises/practice/book-store/go.mod +++ b/exercises/practice/book-store/go.mod @@ -1,3 +1,3 @@ module bookstore -go 1.16 +go 1.18 diff --git a/exercises/practice/bottle-song/go.mod b/exercises/practice/bottle-song/go.mod index 0607e2aa0..d6f58478d 100644 --- a/exercises/practice/bottle-song/go.mod +++ b/exercises/practice/bottle-song/go.mod @@ -1,3 +1,3 @@ module bottlesong -go 1.16 +go 1.18 diff --git a/exercises/practice/bowling/go.mod b/exercises/practice/bowling/go.mod index 3b6671093..e27c38f0a 100644 --- a/exercises/practice/bowling/go.mod +++ b/exercises/practice/bowling/go.mod @@ -1,3 +1,3 @@ module bowling -go 1.16 +go 1.18 diff --git a/exercises/practice/change/go.mod b/exercises/practice/change/go.mod index 35c17801f..5abd0a9c1 100644 --- a/exercises/practice/change/go.mod +++ b/exercises/practice/change/go.mod @@ -1,3 +1,3 @@ module change -go 1.16 +go 1.18 diff --git a/exercises/practice/circular-buffer/go.mod b/exercises/practice/circular-buffer/go.mod index b044dab50..68810fcca 100644 --- a/exercises/practice/circular-buffer/go.mod +++ b/exercises/practice/circular-buffer/go.mod @@ -1,3 +1,3 @@ module standard -go 1.16 +go 1.18 diff --git a/exercises/practice/clock/go.mod b/exercises/practice/clock/go.mod index 60476f348..b832147f8 100644 --- a/exercises/practice/clock/go.mod +++ b/exercises/practice/clock/go.mod @@ -1,3 +1,3 @@ module clock -go 1.16 +go 1.18 diff --git a/exercises/practice/collatz-conjecture/go.mod b/exercises/practice/collatz-conjecture/go.mod index 613f88b53..c00992a83 100644 --- a/exercises/practice/collatz-conjecture/go.mod +++ b/exercises/practice/collatz-conjecture/go.mod @@ -1,3 +1,3 @@ module collatzconjecture -go 1.16 +go 1.18 diff --git a/exercises/practice/complex-numbers/go.mod b/exercises/practice/complex-numbers/go.mod index 4a8980600..a75b5eff1 100644 --- a/exercises/practice/complex-numbers/go.mod +++ b/exercises/practice/complex-numbers/go.mod @@ -1,3 +1,3 @@ module complex -go 1.16 +go 1.18 diff --git a/exercises/practice/connect/go.mod b/exercises/practice/connect/go.mod index 4a31891dc..41574245f 100644 --- a/exercises/practice/connect/go.mod +++ b/exercises/practice/connect/go.mod @@ -1,3 +1,3 @@ module connect -go 1.16 +go 1.18 diff --git a/exercises/practice/counter/go.mod b/exercises/practice/counter/go.mod index 23da41cfc..3a6c21aa0 100644 --- a/exercises/practice/counter/go.mod +++ b/exercises/practice/counter/go.mod @@ -1,3 +1,3 @@ module counter -go 1.16 +go 1.18 diff --git a/exercises/practice/crypto-square/go.mod b/exercises/practice/crypto-square/go.mod index c7c5bd3ee..32a6d4d5b 100644 --- a/exercises/practice/crypto-square/go.mod +++ b/exercises/practice/crypto-square/go.mod @@ -1,3 +1,3 @@ module cryptosquare -go 1.16 +go 1.18 diff --git a/exercises/practice/custom-set/go.mod b/exercises/practice/custom-set/go.mod index 31fd91f87..20c14c846 100644 --- a/exercises/practice/custom-set/go.mod +++ b/exercises/practice/custom-set/go.mod @@ -1,3 +1,3 @@ module stringset -go 1.16 +go 1.18 diff --git a/exercises/practice/darts/go.mod b/exercises/practice/darts/go.mod index b7aec821c..4db87cd9e 100644 --- a/exercises/practice/darts/go.mod +++ b/exercises/practice/darts/go.mod @@ -1,3 +1,3 @@ module darts -go 1.16 +go 1.18 diff --git a/exercises/practice/diamond/go.mod b/exercises/practice/diamond/go.mod index 932b50622..6b7aa4950 100644 --- a/exercises/practice/diamond/go.mod +++ b/exercises/practice/diamond/go.mod @@ -1,3 +1,3 @@ module diamond -go 1.16 +go 1.18 diff --git a/exercises/practice/difference-of-squares/go.mod b/exercises/practice/difference-of-squares/go.mod index c62c82661..24efaea5c 100644 --- a/exercises/practice/difference-of-squares/go.mod +++ b/exercises/practice/difference-of-squares/go.mod @@ -1,3 +1,3 @@ module diffsquares -go 1.16 +go 1.18 diff --git a/exercises/practice/diffie-hellman/go.mod b/exercises/practice/diffie-hellman/go.mod index 5bb45e46a..43eb5ce7b 100644 --- a/exercises/practice/diffie-hellman/go.mod +++ b/exercises/practice/diffie-hellman/go.mod @@ -1,3 +1,3 @@ module diffiehellman -go 1.16 +go 1.18 diff --git a/exercises/practice/dominoes/go.mod b/exercises/practice/dominoes/go.mod index 95d7be331..636076525 100644 --- a/exercises/practice/dominoes/go.mod +++ b/exercises/practice/dominoes/go.mod @@ -1,3 +1,3 @@ module dominoes -go 1.16 +go 1.18 diff --git a/exercises/practice/error-handling/go.mod b/exercises/practice/error-handling/go.mod index 14ad634e8..a4b0dc5bb 100644 --- a/exercises/practice/error-handling/go.mod +++ b/exercises/practice/error-handling/go.mod @@ -1,3 +1,3 @@ module erratum -go 1.16 +go 1.18 diff --git a/exercises/practice/etl/go.mod b/exercises/practice/etl/go.mod index 8b4bf2c00..62599d0a9 100644 --- a/exercises/practice/etl/go.mod +++ b/exercises/practice/etl/go.mod @@ -1,3 +1,3 @@ module etl -go 1.16 +go 1.18 diff --git a/exercises/practice/flatten-array/go.mod b/exercises/practice/flatten-array/go.mod index adcb6dcef..3c6f5398c 100644 --- a/exercises/practice/flatten-array/go.mod +++ b/exercises/practice/flatten-array/go.mod @@ -1,3 +1,3 @@ module flatten -go 1.16 +go 1.18 diff --git a/exercises/practice/food-chain/go.mod b/exercises/practice/food-chain/go.mod index 5f3beba0a..22ebeaae1 100644 --- a/exercises/practice/food-chain/go.mod +++ b/exercises/practice/food-chain/go.mod @@ -1,3 +1,3 @@ module foodchain -go 1.16 +go 1.18 diff --git a/exercises/practice/forth/go.mod b/exercises/practice/forth/go.mod index 86cb14278..f2f8857b0 100644 --- a/exercises/practice/forth/go.mod +++ b/exercises/practice/forth/go.mod @@ -1,3 +1,3 @@ module forth -go 1.16 +go 1.18 diff --git a/exercises/practice/gigasecond/go.mod b/exercises/practice/gigasecond/go.mod index 03e2bf875..989fd9723 100644 --- a/exercises/practice/gigasecond/go.mod +++ b/exercises/practice/gigasecond/go.mod @@ -1,3 +1,3 @@ module gigasecond -go 1.16 +go 1.18 diff --git a/exercises/practice/grade-school/go.mod b/exercises/practice/grade-school/go.mod index 17b8e36ea..c9fb49195 100644 --- a/exercises/practice/grade-school/go.mod +++ b/exercises/practice/grade-school/go.mod @@ -1,3 +1,3 @@ module school -go 1.16 +go 1.18 diff --git a/exercises/practice/grains/go.mod b/exercises/practice/grains/go.mod index 5eed1358d..e1a31a2af 100644 --- a/exercises/practice/grains/go.mod +++ b/exercises/practice/grains/go.mod @@ -1,3 +1,3 @@ module grains -go 1.16 +go 1.18 diff --git a/exercises/practice/grep/go.mod b/exercises/practice/grep/go.mod index cad10fb55..0bdcfbd6f 100644 --- a/exercises/practice/grep/go.mod +++ b/exercises/practice/grep/go.mod @@ -1,3 +1,3 @@ module grep -go 1.16 +go 1.18 diff --git a/exercises/practice/hamming/go.mod b/exercises/practice/hamming/go.mod index 90a8447eb..df143796f 100644 --- a/exercises/practice/hamming/go.mod +++ b/exercises/practice/hamming/go.mod @@ -1,3 +1,3 @@ module hamming -go 1.16 +go 1.18 diff --git a/exercises/practice/hello-world/go.mod b/exercises/practice/hello-world/go.mod index dd023b19d..aecd42ec6 100644 --- a/exercises/practice/hello-world/go.mod +++ b/exercises/practice/hello-world/go.mod @@ -1,3 +1,3 @@ module greeting -go 1.16 +go 1.18 diff --git a/exercises/practice/hexadecimal/go.mod b/exercises/practice/hexadecimal/go.mod index 7d90de96d..b3666da2c 100644 --- a/exercises/practice/hexadecimal/go.mod +++ b/exercises/practice/hexadecimal/go.mod @@ -1,3 +1,3 @@ module hexadecimal -go 1.16 +go 1.18 diff --git a/exercises/practice/house/go.mod b/exercises/practice/house/go.mod index fcf33aac8..c2235620b 100644 --- a/exercises/practice/house/go.mod +++ b/exercises/practice/house/go.mod @@ -1,3 +1,3 @@ module house -go 1.16 +go 1.18 diff --git a/exercises/practice/isbn-verifier/go.mod b/exercises/practice/isbn-verifier/go.mod index c7176da3c..bda2ae509 100644 --- a/exercises/practice/isbn-verifier/go.mod +++ b/exercises/practice/isbn-verifier/go.mod @@ -1,3 +1,3 @@ module isbn -go 1.16 +go 1.18 diff --git a/exercises/practice/isogram/go.mod b/exercises/practice/isogram/go.mod index e4eb9c9cd..1bf8769b4 100644 --- a/exercises/practice/isogram/go.mod +++ b/exercises/practice/isogram/go.mod @@ -1,3 +1,3 @@ module isogram -go 1.16 +go 1.18 diff --git a/exercises/practice/kindergarten-garden/go.mod b/exercises/practice/kindergarten-garden/go.mod index 846495627..569cf616f 100644 --- a/exercises/practice/kindergarten-garden/go.mod +++ b/exercises/practice/kindergarten-garden/go.mod @@ -1,3 +1,3 @@ module kindergarten -go 1.16 +go 1.18 diff --git a/exercises/practice/largest-series-product/go.mod b/exercises/practice/largest-series-product/go.mod index cfeae6ef8..98516cc42 100644 --- a/exercises/practice/largest-series-product/go.mod +++ b/exercises/practice/largest-series-product/go.mod @@ -1,3 +1,3 @@ module lsproduct -go 1.16 +go 1.18 diff --git a/exercises/practice/leap/go.mod b/exercises/practice/leap/go.mod index 78621fda6..38c8bfd98 100644 --- a/exercises/practice/leap/go.mod +++ b/exercises/practice/leap/go.mod @@ -1,3 +1,3 @@ module leap -go 1.16 +go 1.18 diff --git a/exercises/practice/ledger/go.mod b/exercises/practice/ledger/go.mod index b443e37ee..02d672fe2 100644 --- a/exercises/practice/ledger/go.mod +++ b/exercises/practice/ledger/go.mod @@ -1,3 +1,3 @@ module ledger -go 1.16 +go 1.18 diff --git a/exercises/practice/linked-list/go.mod b/exercises/practice/linked-list/go.mod index 67e87b7cc..484bc895d 100644 --- a/exercises/practice/linked-list/go.mod +++ b/exercises/practice/linked-list/go.mod @@ -1,3 +1,3 @@ module linkedlist -go 1.16 +go 1.18 diff --git a/exercises/practice/list-ops/go.mod b/exercises/practice/list-ops/go.mod index 1514aaa91..a8206f0d5 100644 --- a/exercises/practice/list-ops/go.mod +++ b/exercises/practice/list-ops/go.mod @@ -1,3 +1,3 @@ module listops -go 1.16 +go 1.18 diff --git a/exercises/practice/luhn/go.mod b/exercises/practice/luhn/go.mod index 945a7d352..19140d184 100644 --- a/exercises/practice/luhn/go.mod +++ b/exercises/practice/luhn/go.mod @@ -1,3 +1,3 @@ module luhn -go 1.16 +go 1.18 diff --git a/exercises/practice/markdown/go.mod b/exercises/practice/markdown/go.mod index 8f9d65bcb..7779aa080 100644 --- a/exercises/practice/markdown/go.mod +++ b/exercises/practice/markdown/go.mod @@ -1,3 +1,3 @@ module markdown -go 1.16 +go 1.18 diff --git a/exercises/practice/matching-brackets/go.mod b/exercises/practice/matching-brackets/go.mod index f37be8946..c715c1605 100644 --- a/exercises/practice/matching-brackets/go.mod +++ b/exercises/practice/matching-brackets/go.mod @@ -1,3 +1,3 @@ module brackets -go 1.16 +go 1.18 diff --git a/exercises/practice/matrix/go.mod b/exercises/practice/matrix/go.mod index 2fe47f1be..67b57b409 100644 --- a/exercises/practice/matrix/go.mod +++ b/exercises/practice/matrix/go.mod @@ -1,3 +1,3 @@ module matrix -go 1.16 +go 1.18 diff --git a/exercises/practice/meetup/go.mod b/exercises/practice/meetup/go.mod index 97b575f06..da3e2e71d 100644 --- a/exercises/practice/meetup/go.mod +++ b/exercises/practice/meetup/go.mod @@ -1,3 +1,3 @@ module meetup -go 1.16 +go 1.18 diff --git a/exercises/practice/minesweeper/go.mod b/exercises/practice/minesweeper/go.mod index aa1a4e1e2..ebcec44a4 100644 --- a/exercises/practice/minesweeper/go.mod +++ b/exercises/practice/minesweeper/go.mod @@ -1,3 +1,3 @@ module minesweeper -go 1.16 +go 1.18 diff --git a/exercises/practice/nth-prime/go.mod b/exercises/practice/nth-prime/go.mod index a10b5f94f..5c331a765 100644 --- a/exercises/practice/nth-prime/go.mod +++ b/exercises/practice/nth-prime/go.mod @@ -1,3 +1,3 @@ module prime -go 1.16 +go 1.18 diff --git a/exercises/practice/nucleotide-count/go.mod b/exercises/practice/nucleotide-count/go.mod index 2db4e89a6..ee80c3712 100644 --- a/exercises/practice/nucleotide-count/go.mod +++ b/exercises/practice/nucleotide-count/go.mod @@ -1,3 +1,3 @@ module dna -go 1.16 +go 1.18 diff --git a/exercises/practice/ocr-numbers/go.mod b/exercises/practice/ocr-numbers/go.mod index e76b44590..db8761298 100644 --- a/exercises/practice/ocr-numbers/go.mod +++ b/exercises/practice/ocr-numbers/go.mod @@ -1,3 +1,3 @@ module ocr -go 1.16 +go 1.18 diff --git a/exercises/practice/octal/go.mod b/exercises/practice/octal/go.mod index 72ea1d852..bdcc18de5 100644 --- a/exercises/practice/octal/go.mod +++ b/exercises/practice/octal/go.mod @@ -1,3 +1,3 @@ module octal -go 1.16 +go 1.18 diff --git a/exercises/practice/paasio/go.mod b/exercises/practice/paasio/go.mod index 91dde88ee..6c2f2271e 100644 --- a/exercises/practice/paasio/go.mod +++ b/exercises/practice/paasio/go.mod @@ -1,3 +1,3 @@ module paasio -go 1.16 +go 1.18 diff --git a/exercises/practice/palindrome-products/go.mod b/exercises/practice/palindrome-products/go.mod index 8a299e36a..1ceab32ea 100644 --- a/exercises/practice/palindrome-products/go.mod +++ b/exercises/practice/palindrome-products/go.mod @@ -1,3 +1,3 @@ module palindrome -go 1.16 +go 1.18 diff --git a/exercises/practice/pangram/go.mod b/exercises/practice/pangram/go.mod index 5c89c2fe3..83c4345d0 100644 --- a/exercises/practice/pangram/go.mod +++ b/exercises/practice/pangram/go.mod @@ -1,3 +1,3 @@ module pangram -go 1.16 +go 1.18 diff --git a/exercises/practice/parallel-letter-frequency/go.mod b/exercises/practice/parallel-letter-frequency/go.mod index cd94b59c3..7e0eeaf35 100644 --- a/exercises/practice/parallel-letter-frequency/go.mod +++ b/exercises/practice/parallel-letter-frequency/go.mod @@ -1,3 +1,3 @@ module letter -go 1.16 +go 1.18 diff --git a/exercises/practice/pascals-triangle/go.mod b/exercises/practice/pascals-triangle/go.mod index 5f84815a2..8c9f01f25 100644 --- a/exercises/practice/pascals-triangle/go.mod +++ b/exercises/practice/pascals-triangle/go.mod @@ -1,3 +1,3 @@ module pascal -go 1.16 +go 1.18 diff --git a/exercises/practice/perfect-numbers/go.mod b/exercises/practice/perfect-numbers/go.mod index e21714a6a..55e5e3e6e 100644 --- a/exercises/practice/perfect-numbers/go.mod +++ b/exercises/practice/perfect-numbers/go.mod @@ -1,3 +1,3 @@ module perfect -go 1.16 +go 1.18 diff --git a/exercises/practice/phone-number/go.mod b/exercises/practice/phone-number/go.mod index 2dfbac3a5..88504ed5b 100644 --- a/exercises/practice/phone-number/go.mod +++ b/exercises/practice/phone-number/go.mod @@ -1,3 +1,3 @@ module phonenumber -go 1.16 +go 1.18 diff --git a/exercises/practice/pig-latin/.approaches/introduction.md b/exercises/practice/pig-latin/.approaches/introduction.md index 4c8fc6643..ef5d9efd7 100644 --- a/exercises/practice/pig-latin/.approaches/introduction.md +++ b/exercises/practice/pig-latin/.approaches/introduction.md @@ -110,11 +110,6 @@ func Sentence(phrase string) string { } ``` -```exercism/note -As of this writing, the Go version defined in the `go.mod` file is `1.16`. -To use generics, the `go.mod` file needs to be updated to version `1.18` or higher. -``` - For more information, check the [map lookups with generics approach][approach-map-lookups-with-generics]. ## Which approach to use? diff --git a/exercises/practice/pig-latin/.approaches/map-lookups-with-generics/content.md b/exercises/practice/pig-latin/.approaches/map-lookups-with-generics/content.md index 8113770bc..a7a0451af 100644 --- a/exercises/practice/pig-latin/.approaches/map-lookups-with-generics/content.md +++ b/exercises/practice/pig-latin/.approaches/map-lookups-with-generics/content.md @@ -53,11 +53,6 @@ func Sentence(phrase string) string { } ``` -```exercism/note -As of this writing, the Go version defined in the `go.mod` file is `1.16`. -To use generics, the `go.mod` file needs to be updated to version `1.18` or higher. -``` - The approach imports the `strings` package so it can use [`strings.Builder`][builder] as an efficient way to build the output string. This approach starts be defining a void [type][type] that will be used in the package. @@ -73,12 +68,12 @@ More info on implementing a set in Go can be found [here](https://yourbasic.org/ An [interface type][interface-type] is then defined which will be used to constain which types are to be used for the [generics][generics]: ->Generics are a way of writing code that is independent of the specific types being used. Functions and types may now be written to use any of a set of types. +> Generics are a way of writing code that is independent of the specific types being used. Functions and types may now be written to use any of a set of types. Since there can not be multiple [`if` with short statements][if-with-short-statement] on the same line, the `contains()` function is defined which takes a generic type parameter of `[T container]`. `T` is the name of the parameter. -The name does not have to be `T`, but it is a common convention in Go (and other languages) to start with `T`, +The name does not have to be `T`, but it is a common convention in Go (and other languages) to start with `T`, and if a second name is needed, to use `U`, and so on. The type of `T` is constrained to be one of the types defined in the `container` interface. The arguments to the function are a map of the generic type `T` with void values, and a value of type `T`. diff --git a/exercises/practice/pig-latin/go.mod b/exercises/practice/pig-latin/go.mod index 6ce203d46..54903f148 100644 --- a/exercises/practice/pig-latin/go.mod +++ b/exercises/practice/pig-latin/go.mod @@ -1,3 +1,3 @@ module piglatin -go 1.16 +go 1.18 diff --git a/exercises/practice/poker/go.mod b/exercises/practice/poker/go.mod index 369e226ce..89282e57d 100644 --- a/exercises/practice/poker/go.mod +++ b/exercises/practice/poker/go.mod @@ -1,3 +1,3 @@ module poker -go 1.16 +go 1.18 diff --git a/exercises/practice/pov/go.mod b/exercises/practice/pov/go.mod index c70bf773c..f190bcf29 100644 --- a/exercises/practice/pov/go.mod +++ b/exercises/practice/pov/go.mod @@ -1,3 +1,3 @@ module pov -go 1.16 +go 1.18 diff --git a/exercises/practice/prime-factors/go.mod b/exercises/practice/prime-factors/go.mod index a10b5f94f..5c331a765 100644 --- a/exercises/practice/prime-factors/go.mod +++ b/exercises/practice/prime-factors/go.mod @@ -1,3 +1,3 @@ module prime -go 1.16 +go 1.18 diff --git a/exercises/practice/protein-translation/go.mod b/exercises/practice/protein-translation/go.mod index 26e145496..c3275d4ed 100644 --- a/exercises/practice/protein-translation/go.mod +++ b/exercises/practice/protein-translation/go.mod @@ -1,3 +1,3 @@ module protein -go 1.16 +go 1.18 diff --git a/exercises/practice/proverb/go.mod b/exercises/practice/proverb/go.mod index 754b976a3..f2d4c3f30 100644 --- a/exercises/practice/proverb/go.mod +++ b/exercises/practice/proverb/go.mod @@ -1,3 +1,3 @@ module proverb -go 1.16 +go 1.18 diff --git a/exercises/practice/pythagorean-triplet/go.mod b/exercises/practice/pythagorean-triplet/go.mod index 39113bb1f..7afef887f 100644 --- a/exercises/practice/pythagorean-triplet/go.mod +++ b/exercises/practice/pythagorean-triplet/go.mod @@ -1,3 +1,3 @@ module pythagorean -go 1.16 +go 1.18 diff --git a/exercises/practice/queen-attack/go.mod b/exercises/practice/queen-attack/go.mod index 70feda1f3..df16e4f2d 100644 --- a/exercises/practice/queen-attack/go.mod +++ b/exercises/practice/queen-attack/go.mod @@ -1,3 +1,3 @@ module queenattack -go 1.16 +go 1.18 diff --git a/exercises/practice/rail-fence-cipher/go.mod b/exercises/practice/rail-fence-cipher/go.mod index f43ba1c8c..0bc1c5dd9 100644 --- a/exercises/practice/rail-fence-cipher/go.mod +++ b/exercises/practice/rail-fence-cipher/go.mod @@ -1,3 +1,3 @@ module railfence -go 1.16 +go 1.18 diff --git a/exercises/practice/raindrops/go.mod b/exercises/practice/raindrops/go.mod index e7d5096fd..9e63bf025 100644 --- a/exercises/practice/raindrops/go.mod +++ b/exercises/practice/raindrops/go.mod @@ -1,3 +1,3 @@ module raindrops -go 1.16 +go 1.18 diff --git a/exercises/practice/react/go.mod b/exercises/practice/react/go.mod index 311b4b047..3fa6b84b1 100644 --- a/exercises/practice/react/go.mod +++ b/exercises/practice/react/go.mod @@ -1,3 +1,3 @@ module react -go 1.16 +go 1.18 diff --git a/exercises/practice/rectangles/go.mod b/exercises/practice/rectangles/go.mod index a0a00e99d..2f5e8df95 100644 --- a/exercises/practice/rectangles/go.mod +++ b/exercises/practice/rectangles/go.mod @@ -1,3 +1,3 @@ module rectangles -go 1.16 +go 1.18 diff --git a/exercises/practice/reverse-string/go.mod b/exercises/practice/reverse-string/go.mod index 1a25ad7c2..8ca0d634f 100644 --- a/exercises/practice/reverse-string/go.mod +++ b/exercises/practice/reverse-string/go.mod @@ -1,3 +1,3 @@ module reverse -go 1.16 +go 1.18 diff --git a/exercises/practice/rna-transcription/go.mod b/exercises/practice/rna-transcription/go.mod index 497cf896a..d1f965ff2 100644 --- a/exercises/practice/rna-transcription/go.mod +++ b/exercises/practice/rna-transcription/go.mod @@ -1,3 +1,3 @@ module strand -go 1.16 +go 1.18 diff --git a/exercises/practice/robot-name/go.mod b/exercises/practice/robot-name/go.mod index d7c1066b7..073c4d574 100644 --- a/exercises/practice/robot-name/go.mod +++ b/exercises/practice/robot-name/go.mod @@ -1,3 +1,3 @@ module robotname -go 1.16 +go 1.18 diff --git a/exercises/practice/robot-simulator/go.mod b/exercises/practice/robot-simulator/go.mod index 2c2467a6b..d93fd0df2 100644 --- a/exercises/practice/robot-simulator/go.mod +++ b/exercises/practice/robot-simulator/go.mod @@ -1,3 +1,3 @@ module robot -go 1.16 +go 1.18 diff --git a/exercises/practice/roman-numerals/go.mod b/exercises/practice/roman-numerals/go.mod index 9882d1b97..296a6e210 100644 --- a/exercises/practice/roman-numerals/go.mod +++ b/exercises/practice/roman-numerals/go.mod @@ -1,3 +1,3 @@ module romannumerals -go 1.16 +go 1.18 diff --git a/exercises/practice/rotational-cipher/go.mod b/exercises/practice/rotational-cipher/go.mod index 0f2043ae1..f1e5029ba 100644 --- a/exercises/practice/rotational-cipher/go.mod +++ b/exercises/practice/rotational-cipher/go.mod @@ -1,3 +1,3 @@ module rotationalcipher -go 1.16 +go 1.18 diff --git a/exercises/practice/run-length-encoding/go.mod b/exercises/practice/run-length-encoding/go.mod index 668974695..c0f69aa4e 100644 --- a/exercises/practice/run-length-encoding/go.mod +++ b/exercises/practice/run-length-encoding/go.mod @@ -1,3 +1,3 @@ module encode -go 1.16 +go 1.18 diff --git a/exercises/practice/saddle-points/go.mod b/exercises/practice/saddle-points/go.mod index 2fe47f1be..67b57b409 100644 --- a/exercises/practice/saddle-points/go.mod +++ b/exercises/practice/saddle-points/go.mod @@ -1,3 +1,3 @@ module matrix -go 1.16 +go 1.18 diff --git a/exercises/practice/say/go.mod b/exercises/practice/say/go.mod index 4a318de39..30fe8a109 100644 --- a/exercises/practice/say/go.mod +++ b/exercises/practice/say/go.mod @@ -1,3 +1,3 @@ module say -go 1.16 +go 1.18 diff --git a/exercises/practice/scale-generator/go.mod b/exercises/practice/scale-generator/go.mod index 5a6ae7885..c0aae9104 100644 --- a/exercises/practice/scale-generator/go.mod +++ b/exercises/practice/scale-generator/go.mod @@ -1,3 +1,3 @@ module scale -go 1.16 +go 1.18 diff --git a/exercises/practice/scrabble-score/go.mod b/exercises/practice/scrabble-score/go.mod index b71a4efbf..f98978fdf 100644 --- a/exercises/practice/scrabble-score/go.mod +++ b/exercises/practice/scrabble-score/go.mod @@ -1,3 +1,3 @@ module scrabble -go 1.16 +go 1.18 diff --git a/exercises/practice/secret-handshake/go.mod b/exercises/practice/secret-handshake/go.mod index cb1f1677f..d7795e216 100644 --- a/exercises/practice/secret-handshake/go.mod +++ b/exercises/practice/secret-handshake/go.mod @@ -1,3 +1,3 @@ module secret -go 1.16 +go 1.18 diff --git a/exercises/practice/series/go.mod b/exercises/practice/series/go.mod index af08db27b..d710aa1aa 100644 --- a/exercises/practice/series/go.mod +++ b/exercises/practice/series/go.mod @@ -1,3 +1,3 @@ module series -go 1.16 +go 1.18 diff --git a/exercises/practice/sieve/go.mod b/exercises/practice/sieve/go.mod index a9a27d8c2..37aa16918 100644 --- a/exercises/practice/sieve/go.mod +++ b/exercises/practice/sieve/go.mod @@ -1,3 +1,3 @@ module sieve -go 1.16 +go 1.18 diff --git a/exercises/practice/simple-cipher/go.mod b/exercises/practice/simple-cipher/go.mod index a0b9e7294..8a61177f2 100644 --- a/exercises/practice/simple-cipher/go.mod +++ b/exercises/practice/simple-cipher/go.mod @@ -1,3 +1,3 @@ module cipher -go 1.16 +go 1.18 diff --git a/exercises/practice/simple-linked-list/go.mod b/exercises/practice/simple-linked-list/go.mod index 67e87b7cc..484bc895d 100644 --- a/exercises/practice/simple-linked-list/go.mod +++ b/exercises/practice/simple-linked-list/go.mod @@ -1,3 +1,3 @@ module linkedlist -go 1.16 +go 1.18 diff --git a/exercises/practice/space-age/go.mod b/exercises/practice/space-age/go.mod index cb3fea5b4..943cff83c 100644 --- a/exercises/practice/space-age/go.mod +++ b/exercises/practice/space-age/go.mod @@ -1,3 +1,3 @@ module space -go 1.16 +go 1.18 diff --git a/exercises/practice/spiral-matrix/go.mod b/exercises/practice/spiral-matrix/go.mod index 666b127dd..ae6dd2010 100644 --- a/exercises/practice/spiral-matrix/go.mod +++ b/exercises/practice/spiral-matrix/go.mod @@ -1,3 +1,3 @@ module spiralmatrix -go 1.16 +go 1.18 diff --git a/exercises/practice/state-of-tic-tac-toe/go.mod b/exercises/practice/state-of-tic-tac-toe/go.mod index c11746b42..9a3994edc 100644 --- a/exercises/practice/state-of-tic-tac-toe/go.mod +++ b/exercises/practice/state-of-tic-tac-toe/go.mod @@ -1,3 +1,3 @@ module stateoftictactoe -go 1.16 +go 1.18 diff --git a/exercises/practice/strain/go.mod b/exercises/practice/strain/go.mod index 2702a6e46..12faa219c 100644 --- a/exercises/practice/strain/go.mod +++ b/exercises/practice/strain/go.mod @@ -1,3 +1,3 @@ module strain -go 1.16 +go 1.18 diff --git a/exercises/practice/sublist/go.mod b/exercises/practice/sublist/go.mod index 2f5afafa5..03b11c727 100644 --- a/exercises/practice/sublist/go.mod +++ b/exercises/practice/sublist/go.mod @@ -1,3 +1,3 @@ module sublist -go 1.16 +go 1.18 diff --git a/exercises/practice/sum-of-multiples/go.mod b/exercises/practice/sum-of-multiples/go.mod index 5caa349d3..fc0324227 100644 --- a/exercises/practice/sum-of-multiples/go.mod +++ b/exercises/practice/sum-of-multiples/go.mod @@ -1,3 +1,3 @@ module summultiples -go 1.16 +go 1.18 diff --git a/exercises/practice/tournament/go.mod b/exercises/practice/tournament/go.mod index 8c15b870d..2ac6cd248 100644 --- a/exercises/practice/tournament/go.mod +++ b/exercises/practice/tournament/go.mod @@ -1,3 +1,3 @@ module tournament -go 1.16 +go 1.18 diff --git a/exercises/practice/transpose/go.mod b/exercises/practice/transpose/go.mod index 5d431e64d..8aab1a0bc 100644 --- a/exercises/practice/transpose/go.mod +++ b/exercises/practice/transpose/go.mod @@ -1,3 +1,3 @@ module transpose -go 1.16 +go 1.18 diff --git a/exercises/practice/tree-building/go.mod b/exercises/practice/tree-building/go.mod index 7094fd76a..9b70f7158 100644 --- a/exercises/practice/tree-building/go.mod +++ b/exercises/practice/tree-building/go.mod @@ -1,3 +1,3 @@ module tree -go 1.16 +go 1.18 diff --git a/exercises/practice/triangle/go.mod b/exercises/practice/triangle/go.mod index c808a683d..38275ebe4 100644 --- a/exercises/practice/triangle/go.mod +++ b/exercises/practice/triangle/go.mod @@ -1,3 +1,3 @@ module triangle -go 1.16 +go 1.18 diff --git a/exercises/practice/trinary/go.mod b/exercises/practice/trinary/go.mod index 3dda7d5dc..305d5dd61 100644 --- a/exercises/practice/trinary/go.mod +++ b/exercises/practice/trinary/go.mod @@ -1,3 +1,3 @@ module trinary -go 1.16 +go 1.18 diff --git a/exercises/practice/twelve-days/go.mod b/exercises/practice/twelve-days/go.mod index 1af226e64..3e300abe3 100644 --- a/exercises/practice/twelve-days/go.mod +++ b/exercises/practice/twelve-days/go.mod @@ -1,3 +1,3 @@ module twelve -go 1.16 +go 1.18 diff --git a/exercises/practice/two-bucket/go.mod b/exercises/practice/two-bucket/go.mod index 663d6020d..30002dc95 100644 --- a/exercises/practice/two-bucket/go.mod +++ b/exercises/practice/two-bucket/go.mod @@ -1,3 +1,3 @@ module twobucket -go 1.16 +go 1.18 diff --git a/exercises/practice/two-fer/go.mod b/exercises/practice/two-fer/go.mod index 59cc7a56a..b5358ed18 100644 --- a/exercises/practice/two-fer/go.mod +++ b/exercises/practice/two-fer/go.mod @@ -1,3 +1,3 @@ module twofer -go 1.16 +go 1.18 diff --git a/exercises/practice/variable-length-quantity/go.mod b/exercises/practice/variable-length-quantity/go.mod index 573f25e24..10286b770 100644 --- a/exercises/practice/variable-length-quantity/go.mod +++ b/exercises/practice/variable-length-quantity/go.mod @@ -1,3 +1,3 @@ module variablelengthquantity -go 1.16 +go 1.18 diff --git a/exercises/practice/word-count/go.mod b/exercises/practice/word-count/go.mod index 614fb243c..bca78e1b1 100644 --- a/exercises/practice/word-count/go.mod +++ b/exercises/practice/word-count/go.mod @@ -1,3 +1,3 @@ module wordcount -go 1.16 +go 1.18 diff --git a/exercises/practice/word-search/go.mod b/exercises/practice/word-search/go.mod index 4d1be3403..ed2a62fce 100644 --- a/exercises/practice/word-search/go.mod +++ b/exercises/practice/word-search/go.mod @@ -1,3 +1,3 @@ module wordsearch -go 1.16 +go 1.18 diff --git a/exercises/practice/wordy/go.mod b/exercises/practice/wordy/go.mod index 57f395f74..beb676646 100644 --- a/exercises/practice/wordy/go.mod +++ b/exercises/practice/wordy/go.mod @@ -1,3 +1,3 @@ module wordy -go 1.16 +go 1.18 diff --git a/exercises/practice/yacht/go.mod b/exercises/practice/yacht/go.mod index 30be78c49..1bbd3a119 100644 --- a/exercises/practice/yacht/go.mod +++ b/exercises/practice/yacht/go.mod @@ -1,3 +1,3 @@ module yacht -go 1.16 +go 1.18 diff --git a/exercises/practice/zebra-puzzle/go.mod b/exercises/practice/zebra-puzzle/go.mod index f45254d9a..f6978f9a2 100644 --- a/exercises/practice/zebra-puzzle/go.mod +++ b/exercises/practice/zebra-puzzle/go.mod @@ -1,3 +1,3 @@ module zebra -go 1.16 +go 1.18 diff --git a/gomod-sync/config.json b/gomod-sync/config.json index 999758445..b51ac31da 100644 --- a/gomod-sync/config.json +++ b/gomod-sync/config.json @@ -1,4 +1,4 @@ { - "default": "1.16", + "default": "1.18", "exceptions": [] }