This version, we implemented a unified local testing framework (see 112 ), and rewrited the Go local testing, added CPP local testing (thanks w43322 ).
And must noted that we changed the code template, you will need to remove the previous global config and generate a new one:
rm ~/.config/leetgo/config.yaml
leetgo init
Changelog
Features
* 5749e21800ff923375a00ccd1347190f9f7d53a8: feat: upgrade to go1.20 (98) (j178)
* f200b4b096942505566fb01bb290d3af7e3360da: feat: upgrade to ChatGPT API (j178)
* 023505bc45840d44f86500b19cd6f693a04e58b7: feat: add getTempBinFile (126) (j178)
* e5a02560308f160bda5fadc58789ecd4dded6b3f: feat: allow custom openai api endpoint (j178)
* 67c90b9fbdd486f097abe8c10cda299f63e8634e: feat: implement cpp local test (90) (w43322)
Bug fixes
* b3d7973d0d1a700924639358b1dec8d1420294ab: fix: use json unmarshal to split array (j178)
* b0578846aa0d3cbd8e9ff7de54ae4e43f717e72f: fix: avoid Chinese in generated path (j178)
* fa3e3def121442119b8c47d58dfcac1e8006e1e7: fix: race condition of outputBuf (j178)
* ffcf50f63b487f352bbc47ff955b57a261320f57: fix: minor (j178)
* 97fc1786ff7f37f567cfe15730ed1915c1cf95d9: fix: build before run test, avoid first case time out (j178)
* b782f1776dbbdc231b1960e0b8e0e2c9f4c6c75f: fix: minor (j178)
* ed51b791136de2f2d3741fce978af3345a93c537: fix: avoid hard wrap in English (j178)
* 92b73c5c2a30df2ca1cb64f7949f7f95cf2f69fd: fix: trim </code> in example output (j178)
Others
* 4d78f3b8b38709978c6adecc4d8d4dc6ac2ce25a: chore: bump testutils/go (j178)
* c8a4a0feeddfbb3091d8a3d4a17b3d4d5f306fd5: chore: add length check for system design test cases (j178)
* 1c6d533fe5ca70f87d54db9e7de017e4c50077b1: chore: go mod tidy (j178)
* 454f9d854f1719bb4a4b91ea15f92287ac1d9908: chore: improve error message (j178)
* 493f0ab909f48718baf5a9886739878c9b083367: chore: minor tweak (j178)
* 414d14955d915da883c334a65e4420dccef0ed59: chore(deps): bump github.com/PuerkitoBio/goquery from 1.8.0 to 1.8.1 (125) (dependabot[bot])
* 3d8d90d63a8ab8e19bbd45c77faac8f16f8c39ea: chore(deps): bump github.com/briandowns/spinner from 1.21.0 to 1.22.0 (124) (dependabot[bot])
* 20192311de9542fbfce1332693968ab56813fe06: chore(deps): bump github.com/jedib0t/go-pretty/v6 from 6.4.4 to 6.4.6 (123) (dependabot[bot])
* 5ba8059fa9941293cbb9284c81fe8a14d5d93e8c: chore(deps): bump github.com/charmbracelet/log from 0.1.0 to 0.1.2 (122) (dependabot[bot])
* 962e81a3c46820a69291a8706cdc1934ce0b3651: chore: bump CI go version (j178)
* 8919614be545996d92f4f64b8a654178efe5ca2b: chore: add trailing newline to description file (j178)
* eb4cdfdaa6fc6c317bda50caf8d8e3c593eabbdc: chore: use reflow/wrap, reduce one dependency (j178)