bytedance / mockey

a simple and easy-to-use golang mock library
Apache License 2.0
556 stars 22 forks source link

fix: panic when write code cross-page #46

Closed Sychorius closed 8 months ago

Sychorius commented 8 months ago

Change-Id: I65f95f8be6c7f77f903efde5877d42856473c306

What type of PR is this?

fix

What this PR does / why we need it (en: English/zh: Chinese):

en: Change page write to one by one to avoid cross-page writing failure zh: 写page时改成一个一个写,避免跨page写入时因权限问题导致的调用失败