🧹: gofmt
Former-commit-id: 9548d370497e13d436abbc670cf40d360badab9f [formerly f29ba9c4dcf9962c3a5045629526296cd2b43ad8] [formerly 3f89c094c1b3330c8d6f1b2379d6309567d12210 [formerly 92fda0070cb61c3739fdfe340b65a39fd73eda8b]] Former-commit-id: 4ad64211019e0236f0eaa6e041a8793e899954fe [formerly 6bf71ffba205b563ff6cd0c7487d9a328c757686] Former-commit-id: 4c7afe072fc3e2a225ca5a7dbf3f3beb66b44058
This commit is contained in:
		
							parent
							
								
									12b2c21522
								
							
						
					
					
						commit
						ea434ffc04
					
				| 
						 | 
					@ -4,9 +4,9 @@ import (
 | 
				
			||||||
	"net/http"
 | 
						"net/http"
 | 
				
			||||||
	"os"
 | 
						"os"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						"github.com/filebrowser/filebrowser/v2/errors"
 | 
				
			||||||
	"github.com/filebrowser/filebrowser/v2/settings"
 | 
						"github.com/filebrowser/filebrowser/v2/settings"
 | 
				
			||||||
	"github.com/filebrowser/filebrowser/v2/users"
 | 
						"github.com/filebrowser/filebrowser/v2/users"
 | 
				
			||||||
	"github.com/filebrowser/filebrowser/v2/errors"
 | 
					 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// MethodProxyAuth is used to identify no auth.
 | 
					// MethodProxyAuth is used to identify no auth.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -2,12 +2,12 @@ package http
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"encoding/json"
 | 
						"encoding/json"
 | 
				
			||||||
	"text/template"
 | 
					 | 
				
			||||||
	"log"
 | 
						"log"
 | 
				
			||||||
	"net/http"
 | 
						"net/http"
 | 
				
			||||||
	"os"
 | 
						"os"
 | 
				
			||||||
	"path/filepath"
 | 
						"path/filepath"
 | 
				
			||||||
	"strings"
 | 
						"strings"
 | 
				
			||||||
 | 
						"text/template"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	"github.com/GeertJohan/go.rice"
 | 
						"github.com/GeertJohan/go.rice"
 | 
				
			||||||
	"github.com/filebrowser/filebrowser/v2/auth"
 | 
						"github.com/filebrowser/filebrowser/v2/auth"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										1
									
								
								main.go
								
								
								
								
							
							
						
						
									
										1
									
								
								main.go
								
								
								
								
							| 
						 | 
					@ -1,4 +1,3 @@
 | 
				
			||||||
//go:generate cd http && rice embed-go
 | 
					 | 
				
			||||||
package main
 | 
					package main
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -3,8 +3,8 @@ package runner
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"os/exec"
 | 
						"os/exec"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	"github.com/mholt/caddy"
 | 
					 | 
				
			||||||
	"github.com/filebrowser/filebrowser/v2/settings"
 | 
						"github.com/filebrowser/filebrowser/v2/settings"
 | 
				
			||||||
 | 
						"github.com/mholt/caddy"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// ParseCommand parses the command taking in account if the current
 | 
					// ParseCommand parses the command taking in account if the current
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,9 +1,9 @@
 | 
				
			||||||
package bolt
 | 
					package bolt
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"github.com/filebrowser/filebrowser/v2/settings"
 | 
					 | 
				
			||||||
	"github.com/asdine/storm"
 | 
						"github.com/asdine/storm"
 | 
				
			||||||
	"github.com/filebrowser/filebrowser/v2/auth"
 | 
						"github.com/filebrowser/filebrowser/v2/auth"
 | 
				
			||||||
 | 
						"github.com/filebrowser/filebrowser/v2/settings"
 | 
				
			||||||
	"github.com/filebrowser/filebrowser/v2/share"
 | 
						"github.com/filebrowser/filebrowser/v2/share"
 | 
				
			||||||
	"github.com/filebrowser/filebrowser/v2/storage"
 | 
						"github.com/filebrowser/filebrowser/v2/storage"
 | 
				
			||||||
	"github.com/filebrowser/filebrowser/v2/users"
 | 
						"github.com/filebrowser/filebrowser/v2/users"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue