LinkinStars
52d057ef18
fix: add ID validation and normalization functions for comment handling
2026-02-09 20:27:37 +08:00
Young Xu
581f73c857
chore: instance rand.Seed to rand.Source ( #1233 )
...
The `rand.Seed` method is currently deprecated, use rand Replace with
the `NewSource` method.
```
// Deprecated: As of Go 1.20 there is no reason to call Seed with
// a random value. Programs that call Seed with a known value to get
// a specific sequence of results should use New(NewSource(seed)) to
// obtain a local random generator.
```
---------
Signed-off-by: Young Xu <xuthus5@gmail.com >
Co-authored-by: LinkinStars <linkinstar@foxmail.com >
2025-01-16 11:16:57 +08:00
tison
3d2187d849
chore: add license headers
...
Signed-off-by: tison <wander4096@gmail.com >
2023-10-26 11:11:23 +08:00
LinkinStars
5d28954e4c
feat(question): change create question title function
2023-08-18 18:15:44 +08:00
aichy126
ee72b7e0b1
update CheckPrivateMode
2023-07-13 15:27:26 +08:00
LinkinStars
1c2151d710
refactor(shortid): remove short id variable
2023-06-02 16:53:49 +08:00
aichy126
0ab505a216
add decode test
2023-05-24 17:27:34 +08:00
aichy126
023f12babd
update shortID
2023-04-10 11:06:29 +08:00
aichy126
ecff4e02bc
update short id
2023-03-20 11:00:34 +08:00
aichy126
4d146807ff
update short id
2023-03-13 16:51:54 +08:00
aichy126
58b5087ec5
update short id
2023-03-13 16:24:46 +08:00
aichy126
47fc6caf91
add short id switch
2023-03-09 15:21:51 +08:00
aichy126
4e4226048d
update sitemap time
2023-03-03 16:40:24 +08:00
aichy126
789cf6bd8b
update short id
2023-03-03 15:47:56 +08:00
aichy126
4b1e63b695
update sid test
2023-03-03 14:17:33 +08:00
aichy126
e0579d8ca6
update en de short id
2023-03-02 19:22:32 +08:00
aichy126
ffee84ced2
add en de short id
2023-03-02 15:10:58 +08:00
aichy126
32cb89e9d4
add short id func
2023-03-01 16:13:58 +08:00
Tai Groot
59e2e1f304
Running gofumpt against repo ( #49 )
...
* starting on gofumpt
* continuing on gofumpt
* continuing on gofumpt
* finish gofumpt review
* added changes requested by LinkinStars' review
Co-authored-by: LinkinStars <linkinstar@foxmail.com >
2022-11-01 15:25:44 +08:00
mingcheng
8e6c49a531
initial commit
2022-09-27 17:59:05 +08:00