You've already forked pocketbase
							
							
				mirror of
				https://github.com/pocketbase/pocketbase.git
				synced 2025-10-31 08:37:38 +02:00 
			
		
		
		
	updated godoc links
This commit is contained in:
		| @@ -64,9 +64,9 @@ type Config struct { | ||||
| // | ||||
| // Note that the application will not be initialized/bootstrapped yet, | ||||
| // aka. DB connections, migrations, app settings, etc. will not be accessible. | ||||
| // Everything will be initialized when [PocketBase.Start()] is executed. | ||||
| // If you want to initialize the application before calling [PocketBase.Start()], | ||||
| // then you'll have to manually call [PocketBase.Bootstrap()]. | ||||
| // Everything will be initialized when [PocketBase.Start] is executed. | ||||
| // If you want to initialize the application before calling [PocketBase.Start], | ||||
| // then you'll have to manually call [PocketBase.Bootstrap]. | ||||
| func New() *PocketBase { | ||||
| 	_, isUsingGoRun := inspectRuntime() | ||||
|  | ||||
| @@ -79,9 +79,9 @@ func New() *PocketBase { | ||||
| // | ||||
| // Note that the application will not be initialized/bootstrapped yet, | ||||
| // aka. DB connections, migrations, app settings, etc. will not be accessible. | ||||
| // Everything will be initialized when [PocketBase.Start()] is executed. | ||||
| // If you want to initialize the application before calling [PocketBase..Start()], | ||||
| // then you'll have to manually call [PocketBase.Bootstrap()]. | ||||
| // Everything will be initialized when [PocketBase.Start] is executed. | ||||
| // If you want to initialize the application before calling [PocketBase.Start], | ||||
| // then you'll have to manually call [PocketBase.Bootstrap]. | ||||
| func NewWithConfig(config Config) *PocketBase { | ||||
| 	// initialize a default data directory based on the executable baseDir | ||||
| 	if config.DefaultDataDir == "" { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user