Skip to content

Commit

Permalink
refactoring code
Browse files Browse the repository at this point in the history
  • Loading branch information
oneplus1000 committed Dec 16, 2013
1 parent 3e9afbf commit d6f0606
Show file tree
Hide file tree
Showing 32 changed files with 1 addition and 74 deletions.
File renamed without changes.
2 changes: 0 additions & 2 deletions src/gopdf/catalog_obj.go → catalog_obj.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package gopdf



import (
"bytes"
//"fmt"
Expand Down
7 changes: 0 additions & 7 deletions compile.sh

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 0 additions & 4 deletions debug.sh

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions src/gopdf/gopdf.go → gopdf.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ type GoPdf struct {

pdfObjs []IObj
config Config

/*---index ของ obj สำคัญๆ เก็บเพื่อลด loop ตอนค้นหา---*/
//index ของ obj pages
indexOfPagesObj int
Expand Down
File renamed without changes.
2 changes: 0 additions & 2 deletions src/gopdf/image_obj.go → image_obj.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import (
type ImageObj struct{
buffer bytes.Buffer
imagepath string
//getRoot func()(*GoPdf)
}

func (me *ImageObj) Init(funcGetRoot func()(*GoPdf)) {
Expand All @@ -31,7 +30,6 @@ func (me *ImageObj) Build() {

m , _ , err := image.Decode(file)
if err != nil {
//fmt.Printf("1--%+v\n",err)
return
}

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 0 additions & 4 deletions run.sh

This file was deleted.

52 changes: 0 additions & 52 deletions src/gopdf_test/normal_test.go

This file was deleted.

File renamed without changes.
3 changes: 0 additions & 3 deletions test.sh

This file was deleted.

Binary file removed test/me.jpg
Binary file not shown.

0 comments on commit d6f0606

Please sign in to comment.