fyne.io/fyne/v2/internal/preferences.go The implementation here is for reference only? #3589
Answered
by
Jacalz
junmaqiang
asked this question in
Q&A
-
This package does not seem to be referenced in the project |
Beta Was this translation helpful? Give feedback.
Answered by
Jacalz
Jan 20, 2023
Replies: 1 comment 1 reply
-
That package is used internally for handling the preferences but is not there for reference only. A few other places inside the Fyne codebase imports that and uses it. However, it can not be used by projects outside of Fyne as that is not how the API is supposed to be used. Take a look at https://developer.fyne.io/explore/preferences how to use the preferences API. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
junmaqiang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That package is used internally for handling the preferences but is not there for reference only. A few other places inside the Fyne codebase imports that and uses it. However, it can not be used by projects outside of Fyne as that is not how the API is supposed to be used. Take a look at https://developer.fyne.io/explore/preferences how to use the preferences API.