Implement reset for Go, Pub, Flutter

[GitHub #111]
This commit is contained in:
Aoran Zeng
2024-10-31 20:49:33 +08:00
parent 3e2e7f92fd
commit 5b23eb08e6
5 changed files with 50 additions and 7 deletions

View File

@@ -75,4 +75,33 @@ pl_go_setsrc (char *option)
chsrc_conclude (&source, SetsrcType_Auto);
}
def_target(pl_go);
void
pl_go_resetsrc (char *option)
{
pl_go_setsrc (SetsrcType_Reset);
}
/**
* chsrc ls go
*/
FeatInfo
pl_go_feat (char *option)
{
FeatInfo f = {0};
f.can_get = true;
f.can_reset = true;
f.cap_locally = CanNot;
f.locally = NULL;
f.can_english = false;
f.can_user_define = true;
f.note = NULL;
return f;
}
def_target_gsrf(pl_go);