James Shubin
dd0e67540f
all: Remove deprecated io/ioutil package
...
Porting everything to the newer imports was trivial except for one
instance which required a very small refactor.
2024-02-28 16:36:49 -05:00
James Shubin
a8f194259b
legal: Happy 2024 everyone...
...
Done with:
ack '2023+' -l | xargs sed -i -e 's/2023+/2024+/g'
Checked manually with:
git add -p
Hello to future James from 2025, and Happy Hacking!
2024-01-22 15:52:49 -05:00
James Shubin
af1c952700
lang: funcs: funcgen: Allow []string as inputs
...
This allows us to have the strings.Join function generated.
2023-11-27 21:00:03 -05:00
James Shubin
4650ed01eb
lang: funcs: funcgen: Refactor slightly for list input
...
This code had some design issues. We'll rewrite this eventually, but for
now, let's allow list inputs. Refactor this to make it possible.
2023-11-27 19:57:54 -05:00
James Shubin
a7624a2bf9
legal: Happy 2023 everyone...
...
Done with:
ack '2022+' -l | xargs sed -i -e 's/2022+/2023+/g'
Checked manually with:
git add -p
Hello to future James from 2024, and Happy Hacking!
2023-03-05 18:31:52 -05:00
James Shubin
3cea422365
legal: Happy 2022 everyone...
...
Done with:
ack '2021+' -l | xargs sed -i -e 's/2021+/2022+/g'
Checked manually with:
git add -p
Hello to future James from 2023, and Happy Hacking!
2022-08-05 23:06:27 -04:00
James Shubin
c555478b54
engine, lang: Misc fixes for golang lint
2021-08-09 16:55:31 -04:00
James Shubin
336a38081a
legal: Happy 2021 everyone...
...
Done with:
ack '2020+' -l | xargs sed -i -e 's/2020+/2021+/g'
Checked manually with:
git add -p
Hello to future James from 2022, and Happy Hacking!
2021-01-31 16:52:46 -05:00
James Shubin
f67ad9c061
test: Add a check for too long or badly reflowed docstrings
...
This ensures that docstring comments are wrapped to 80 chars. ffrank
seemed to be making this mistake far too often, and it's a silly thing
to look for manually. As it turns out, I've made it too, as have many
others. Now we have a test that checks for most cases. There are still a
few stray cases that aren't checked automatically, but this can be
improved upon if someone is motivated to do so.
Before anyone complains about the 80 character limit: this only checks
docstring comments, not source code length or inline source code
comments. There's no excuse for having docstrings that are badly
reflowed or over 80 chars, particularly if you have an automated test.
2020-01-25 04:43:33 -05:00
James Shubin
2648fb1bb1
legal: Happy 2020 everyone...
...
Done with:
ack '2019+' -l | xargs sed -i -e 's/2019+/2020+/g'
Checked manually with:
git add -p
Hello to future James from 2021, and Happy Hacking!
2020-01-03 20:08:37 -05:00
Julien Pivotto
0cbfaf98f3
lang: funcs: Support for []byte
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu >
2019-10-30 22:14:08 +01:00
James Shubin
631124e658
lang: funcs: Add nitpicks from funcgen
...
Discussed nitpicks with roidelapluie to clean up slightly for
consistency.
2019-10-30 08:51:11 -04:00
Julien Pivotto
1685ee1ecb
lang: funcs: Autogenerated a lot of new functions
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu >
2019-10-30 08:42:53 -04:00
James Shubin
07f542b4d7
legal: Happy 2019 everyone...
...
Done with:
ack '2018+' -l | xargs sed -i -e 's/2018+/2019+/g'
Checked manually with:
git add -p
Hello to future James from 2020, and Happy Hacking!
2019-03-24 15:08:50 -04:00
James Shubin
00db953c9f
lang: funcs: funcgen: Clean up some small details
...
Some small changes were needed, here they are. Unfortunately this only
supports the `string` type at the moment.
2019-02-21 13:06:29 -05:00