github.com/gop9/olt@v0.0.0-20200202132135-d956aad50b08/gio/app/datadir.go (about)

     1  // SPDX-License-Identifier: Unlicense OR MIT
     2  
     3  // +build !android,go1.13
     4  
     5  package app
     6  
     7  import "os"
     8  
     9  func dataDir() (string, error) {
    10  	return os.UserConfigDir()
    11  }