mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-30 22:32:25 -05:00 
			
		
		
		
	[chore]: Bump golang.org/x/net from 0.30.0 to 0.31.0 (#3536)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.30.0 to 0.31.0. - [Commits](https://github.com/golang/net/compare/v0.30.0...v0.31.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
		
					parent
					
						
							
								29007b1b88
							
						
					
				
			
			
				commit
				
					
						98eef328ea
					
				
			
		
					 59 changed files with 1656 additions and 327 deletions
				
			
		
							
								
								
									
										7
									
								
								vendor/golang.org/x/net/html/doc.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								vendor/golang.org/x/net/html/doc.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -78,16 +78,11 @@ example, to process each anchor node in depth-first order: | |||
| 	if err != nil { | ||||
| 		// ... | ||||
| 	} | ||||
| 	var f func(*html.Node) | ||||
| 	f = func(n *html.Node) { | ||||
| 	for n := range doc.Descendants() { | ||||
| 		if n.Type == html.ElementNode && n.Data == "a" { | ||||
| 			// Do something with n... | ||||
| 		} | ||||
| 		for c := n.FirstChild; c != nil; c = c.NextSibling { | ||||
| 			f(c) | ||||
| 		} | ||||
| 	} | ||||
| 	f(doc) | ||||
| 
 | ||||
| The relevant specifications include: | ||||
| https://html.spec.whatwg.org/multipage/syntax.html and | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue